UPhysicsThrusterComponent

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.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsThrusterComponent.h

Include

#include "PhysicsEngine/PhysicsThrusterComponent.h"

Syntax

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

Name Description

Public variable

float

 

ThrustStrength

Strength of thrust force applied to the base object.

Constructors

Name Description

Public function

UPhysicsThrusterComponent

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss