Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPhysicsThrusterComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsThrusterComponent.h |
Include | #include "PhysicsEngine/PhysicsThrusterComponent.h" |
Syntax
UCLASS (HideCategories=(Object, Mobility, LOD), ClassGroup=Physics, ShowCategories=Trigger,
MinimalAPI, Meta=(BlueprintSpawnableComponent))
class UPhysicsThrusterComponent : public USceneComponent
Remarks
Used with objects that have physics to apply a force down the negative-X direction ie. point X in the direction you want the thrust in.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
float | ThrustStrength | Strength of thrust force applied to the base object. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPhysicsThrusterComponent
(
const FObjectInitializer& ObjectInitializer |
Overridden from UActorComponent
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |