Go to file
Nikolay Petrov 8744cb759b feat(interaction): implement pickup, aim and throw mechanics
- Implement Context-Based Input system:
  - Added `IMC_ItemHeld` mapping context.
  - Added logic to switch contexts when picking up/dropping items.
  - Added `Throw` (LMB/R2) and `Aim` (RMB/L2) input actions.

- Refactor Interaction Logic:
  - `Interact`: Now handles picking up items or gently dropping them if held.
  - `OnThrowInput`: Implemented physics-based throw towards camera aim point (center of screen raycast).
  - Added character rotation to face the throw target instantly.

- Update Physics & Movement:
  - Added `bStrafing` mode to `TengriMovementComponent` to allow rotation towards camera view.
  - Updated `TengriPickupActor` to use `bVelChange` for impulses (ignoring mass for consistent throw arc).
  - Tuned throw force and added vertical arc bias.

- Fixes:
  - Resolved rotation logic in MovementComponent to support Aiming state.
2025-12-27 21:55:31 +05:00
Config rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Content feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
Documentation feat(movement): implement jump system and air physics (Phases 13-14) 2025-12-26 01:45:13 +05:00
Source feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
.eslintignore [code] ignore md in eslint 2025-10-03 02:56:37 +05:00
.eslintrc.js rewrite movement to c++ 2025-12-24 19:34:13 +05:00
.gitattributes [code] Stage 1 Complete: Surface Classification System 2025-08-18 00:31:09 +05:00
.gitignore [code] Update docs 2025-09-02 22:33:56 +05:00
.prettierignore [code] Add ts instruments & refactor all code 2025-09-02 22:33:33 +05:00
.prettierrc.js [code] Add ts instruments & refactor all code 2025-09-02 22:33:33 +05:00
TengriPlatformer.uproject rewrite movement to c++ 2025-12-24 19:34:13 +05:00
package-lock.json [code] Add ts instruments & refactor all code 2025-09-02 22:33:33 +05:00
package.json rewrite movement to c++ 2025-12-24 19:34:13 +05:00
tsconfig.json rewrite movement to c++ 2025-12-24 19:34:13 +05:00