PhysicsEngine

Windows
MacOS
Linux

Classes

Name

Description

Public class

APhysicsConstraintActor

The Basic constraint actor class.

Public class

APhysicsThruster

Attach one of these on an object using physics simulation and it will apply a force down the negative-X direction ie. point X in the direction you want the thrust in.

Public class

ARadialForceActor

Public class

ARigidBodyBase

RigidBodyBase: The base class of all rigid bodies.

Public struct

FAngularDriveConstraint

Angular Drive

Public struct

FBodyInstance

Container for a physics representation of an object

Public struct

FBodyInstanceEditorHelpers

Helper methods for classes with body instances.

Public struct

FBodySetupUVInfo

UV information for BodySetup, only created if [UPhysicsSettings::bSupportUVFromHitResults](API\Runtime\Engine\PhysicsEngine\UPhysicsSettings\bSupportUVFromHitResults)

Public struct

FCollisionResponse

Public struct

FConeConstraint

Cone constraint

Public struct

FConstraintBaseParams

Public struct

FConstraintDrive

Public struct

FConstraintInstance

Container for a physics representation of an object.

Public struct

FConstraintProfileProperties

Container for properties of a physics constraint that can be easily swapped at runtime.

Public struct

FCookBodySetupInfo

Helper struct to indicate which geometry needs to be cooked

Public struct

FInitBodiesHelper

Public struct

FKAggregateGeom

Container for an aggregate of collision shapes

Public struct

FKBoxElem

Box shape used for collision

Public struct

FKConvexElem

One convex hull, used for simplified collision.

Public struct

FKShapeElem

Sphere shape used for collision

Public struct

FKSphereElem

Sphere shape used for collision

Public struct

FKSphylElem

Capsule shape used for collision. Z axis is capsule axis.

Public struct

FKTaperedCapsuleElem

Capsule shape used for collision.

Public struct

FLinearConstraint

Distance constraint

Public struct

FLinearDriveConstraint

Linear Drive

Public struct

FPhysicalAnimationData

Stores info on the type of motor that will be used for a given bone

Public struct

FPhysicalAnimationProfile

Public struct

FPhysicalSurfaceName

Structure that represents the name of physical surfaces.

Public struct

FPhysicsConstraintProfileHandle

Complete constraint definition used by rigid body physics.

Public struct

FRigidBodyIndexPair

Endian save storage for a pair of rigid body indices used as a key in the CollisionDisableTable TMap.

Public struct

FTwistConstraint

Angular roll constraint

Public class

UBodySetup

BodySetup contains all collision information that is associated with a single asset.

Public class

UPhysicalAnimationComponent

Public class

UPhysicsAsset

PhysicsAsset contains a set of rigid bodies and constraints that make up a single ragdoll.

Public class

UPhysicsCollisionHandler

Public class

UPhysicsConstraintComponent

This is effectively a joint that allows you to connect 2 rigid bodies together.

Public class

UPhysicsConstraintTemplate

Public class

UPhysicsHandleComponent

Utility object for moving physics objects around.

Public class

UPhysicsSettings

Default physics settings.

Public class

UPhysicsSpringComponent

Note: this component is still work in progress.

Public class

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.

Public class

URadialForceComponent

Used to emit a radial force or impulse that can affect physics objects and or destructible objects.

Public class

USkeletalBodySetup

Enums

Functions

Name Description

Public function

void

 

ConstraintUtils::ConfigureAsBallAndSocket

(
    FConstraintInstance& ConstraintIns...,
    bool bOverwriteLimits
)

Public function

void

 

ConstraintUtils::ConfigureAsHinge

(
    FConstraintInstance& ConstraintIns...,
    bool bOverwriteLimits
)

Public function

void

 

ConstraintUtils::ConfigureAsPrismatic

(
    FConstraintInstance& ConstraintIns...,
    bool bOverwriteLimits
)

Public function

void

 

ConstraintUtils::ConfigureAsSkelJoint

(
    FConstraintInstance& ConstraintIns...,
    bool bOverwriteLimits
)

Public function

bool

 

ConstraintUtils::IsBallAndSocket

(
    const FConstraintInstance& Constra...
)

Public function

bool

 

ConstraintUtils::IsHinge

(
    const FConstraintInstance& Constra...
)

Public function

bool

 

ConstraintUtils::IsPrismatic

(
    const FConstraintInstance& Constra...
)

Public function

bool

 

ConstraintUtils::IsSkelJoint

(
    const FConstraintInstance& Constra...
)

Public function

int32

 

FillInlineShapeArray_AssumesLocked

(
    PhysicsInterfaceTypes::FInlineShape...,
    const FPhysicsActorHandle& Actor
)

Public function

uint32

 

GetTypeHash

(
    const FRigidBodyIndexPair Pair
)

Generates a hash value in accordance with the uint64 implementation of GetTypeHash which is required for backward compatibility as older versions of UPhysicsAssetInstance stored a TMap.

Public function

const TCHAR ...

 

LexToString

(
    ECollisionTraceFlag Enum
)

Helpers to convert enum to string

Public function

const TCHAR ...

 

LexToString

(
    EPhysicsType Enum
)

Public function

const TCHAR ...

 

LexToString

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback