ULimenPhysicsInteractionComponent
Overview
ULimenPhysicsInteractionComponent extends ULimenInteractionComponent and manages physics-based interactions with interactable components. It uses a UPhysicsHandleComponent to handle physical constraints and provides functionality for setting up, updating, interacting with, and stopping interactions.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TEnumAsByte | TraceChannel | EditAnywhere | The collision channel used for tracing. |
float | HandleLinearStiffness | EditAnywhere | The linear stiffness of the physics handle. |
float | HandleLinearDamping | EditAnywhere | The linear damping of the physics handle. |
float | HandleAngularStiffness | EditAnywhere | The angular stiffness of the physics handle. |
float | HandleAngularDamping | EditAnywhere | The angular damping of the physics handle. |
float | ThrowImpulseStrength | EditAnywhere | The strength of the impulse applied when throwing an interactable component. |
float | InterpolationSpeed | EditAnywhere | The interpolation speed for the physics handle. |
Functions
Return Type | Signature | Description |
|---|---|---|
void |
| Sets up the interaction by initializing the physics handle and trace parameters. |
void |
| Updates the interaction based on the delta time, handling line tracing and setting target locations for interactable components. |
void |
| Handles the start of an interaction with a specific interactable component. |
void |
| Handles the end of an interaction with a specific interactable component. |
Usage & Implementation Notes
Threading Constraints: This component operates on the game thread.
Replication Requirements: None.
Memory Lifetime Management: The physics handle is created and managed within this component, ensuring it is properly registered and released.
Initialization Dependencies: Depends on
ULimenInteractionComponentfor base functionality.