Mostly Harmless

UE3:PhysicsAsset (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> PhysicsAsset
Package: 
Engine
This class in other games:
UT3


Properties[edit]

BodySetup[edit]

Type: array<RB_BodySetup>

Modifiers: const, instanced

Array of RB_BodySetup objects. Stores information about collision shape etc. for each body. Does not include body position - those are taken from mesh.

BodySetupIndexMap[edit]

Type: Object.Map_Mirror{TMap<FName, INT>}

Modifiers: native, const

This caches the BodySetup Index by BodyName to speed up FindBodyIndex

BoundsBodies[edit]

Type: array<int>

Modifiers: const

Index of bodies that are marked bConsiderForBounds

ConstraintSetup[edit]

Type: array<RB_ConstraintSetup>

Modifiers: const, instanced

Array of RB_ConstraintSetup objects. Stores information about a joint between two bodies, such as position relative to each body, joint limits etc.

DefaultInstance[edit]

Type: PhysicsAssetInstance

Modifiers: const, instanced

Default per-instance paramters for this PhysicsAsset.

DefaultSkelMesh[edit]

Type: SkeletalMesh

Modifiers: const, editoronly

Default skeletal mesh to use when previewing this PhysicsAsset etc. Is the one that was used as the basis for creating this Asset.

Native functions[edit]

FindBodyIndex[edit]

native final function int FindBodyIndex (name BodyName)