tengri/Content/UE
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
..
Actor.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
ActorComponent.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
ArrowComponent.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
BitmaskInteger.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
BlueprintFunctionLibrary.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Border.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Byte.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
CapsuleComponent.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Cast.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Color.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
ContentWidget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Controller.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
CteateWidget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
DataAsset.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
DynamicSubsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
EFunctionalTestResult.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
EHardwareDevicePrimaryType.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
ESlateVisibility.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
EngineSubsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
EnhancedActionKeyMapping.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
EnhancedInputLocalPlayerSubsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Float.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
GameModeBase.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
HardwareDeviceIdentifier.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Info.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
InputAction.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
InputDeviceSubsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
InputMappingContext.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
InputModifier.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
InputTrigger.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Integer.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Key.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
LinearColor.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
LocalPlayerSubsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
MathLibrary.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
ModifyContextOptions.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Name.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
PanelSlot.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
PanelWidget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Pawn.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
PlayerController.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
PrimaryDataAsset.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
PrimitiveComponent.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Rotator.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
SceneComponent.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
ShapeComponent.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
SkeletalMesh.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
SkinnedAsset.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
SpringArmComponent.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
StreamableRenderAsset.ts feat(interaction): implement pickup, aim and throw mechanics 2025-12-27 21:55:31 +05:00
StructBase.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Subsystem.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
SystemLibrary.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Text.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
TextBlock.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
TextLayoutWidget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
TextLibrary.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
UEArray.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
UEObject.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
UInt8.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
UserWidget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Vector.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
VerticalBox.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Visual.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
Widget.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00
_WrapperBase.ts rewrite movement to c++ 2025-12-24 19:34:13 +05:00