Gah - a solution with more questions. – EntropicLqd
UE3:PhysicsAssetInstance (UDK)
Object >> PhysicsAssetInstance |
Contents
- 1 Properties
- 2 Native functions
- 2.1 FindBodyInstance
- 2.2 FindConstraintInstance
- 2.3 ForceAllBodiesBelowUnfixed
- 2.4 GetTotalMassBelowBone
- 2.5 SetAllBodiesFixed
- 2.6 SetAllMotorsAngularDriveParams
- 2.7 SetAllMotorsAngularPositionDrive
- 2.8 SetAllMotorsAngularVelocityDrive
- 2.9 SetAngularDriveScale
- 2.10 SetFullAnimWeightBlockRigidBody
- 2.11 SetFullAnimWeightBonesFixed
- 2.12 SetLinearDriveScale
- 2.13 SetNamedBodiesBlockRigidBody
- 2.14 SetNamedBodiesFixed
- 2.15 SetNamedMotorsAngularPositionDrive
- 2.16 SetNamedMotorsAngularVelocityDrive
- 2.17 SetNamedRBBoneSprings
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties[edit]
AngularDampingScale[edit]
Type: float
Modifiers: const
Scaling factor to AngularDriveDamping in all RB_ConstraintInstances within this instance.
Default value: 1.0
AngularForceLimitScale[edit]
Type: float
Modifiers: const
Scaling factor to AngularDriveForceLimit in all RB_ConstraintInstances within this instance.
Default value: 1.0
AngularSpringScale[edit]
Type: float
Modifiers: const
Scaling factor to AngularDriveSpring in all RB_ConstraintInstances within this instance.
Default value: 1.0
bInitBodies[edit]
Type: bool
Modifiers: const
Allows initialization of bodies to be deferred
Default value: True
Bodies[edit]
Type: array<RB_BodyInstance>
Modifiers: const, instanced
Array of RB_BodyInstance objects, storing per-instance state about about each body.
CollisionDisableTable[edit]
Type: Object.Map_Mirror{TMap<FRigidBodyIndexPair,UBOOL>}
Modifiers: const, native
Table indicating which pairs of bodies have collision disabled between them. Used internally.
Constraints[edit]
Type: array<RB_ConstraintInstance>
Modifiers: const, instanced
Array of RB_ConstraintInstance structs, storing per-instance state about each constraint.
LinearDampingScale[edit]
Type: float
Modifiers: const
Scaling factor to LinearDriveDamping in all RB_ConstraintInstances within this instance.
Default value: 1.0
LinearForceLimitScale[edit]
Type: float
Modifiers: const
Scaling factor to LinearDriveForceLimit in all RB_ConstraintInstances within this instance.
Default value: 1.0
LinearSpringScale[edit]
Type: float
Modifiers: const
Scaling factor to LinearDriveSpring in all RB_ConstraintInstances within this instance.
Default value: 1.0
Owner[edit]
Type: Actor
Modifiers: const, transient
Actor that owns this PhysicsAsset instance. Filled in by InitInstance, so we don't need to save it.
RootBodyIndex[edit]
Type: int
Modifiers: const, transient
Index of the 'Root Body', or top body in the asset heirarchy. Used by PHYS_RigidBody to get new location for Actor. Filled in by InitInstance, so we don't need to save it.
Native functions[edit]
FindBodyInstance[edit]
Find instance of the body that matches the name supplied.
FindConstraintInstance[edit]
Find instance of the constraint that matches the name supplied.
ForceAllBodiesBelowUnfixed[edit]
Set all of the bones below passed in bone to be UnFixed AND also set the bForceUnfixed flag to TRUE. *
GetTotalMassBelowBone[edit]
Utility which returns total mass of all bones below the supplied one in the hierarchy (including this one).
SetAllBodiesFixed[edit]
Fix or unfix all bodies
SetAllMotorsAngularDriveParams[edit]
Set Angular Drive motors params for all constraint instance
SetAllMotorsAngularPositionDrive[edit]
Enable or Disable AngularPositionDrive
SetAllMotorsAngularVelocityDrive[edit]
Enable or Disable AngularVelocityDrive based on a list of bone names
SetAngularDriveScale[edit]
SetFullAnimWeightBlockRigidBody[edit]
Use to toggle collision on particular bodies in the asset.
SetFullAnimWeightBonesFixed[edit]
Allows you to fix/unfix bodies where bAlwaysFullAnimWeight is set to TRUE in the BodySetup.
SetLinearDriveScale[edit]
SetNamedBodiesBlockRigidBody[edit]
Use to toggle collision on particular bodies in the asset.
SetNamedBodiesFixed[edit]
Fix or unfix a list of bodies, by name
SetNamedMotorsAngularPositionDrive[edit]
Enable or Disable AngularPositionDrive based on a list of bone names
SetNamedMotorsAngularVelocityDrive[edit]
Enable or Disable AngularVelocityDrive based on a list of bone names
SetNamedRBBoneSprings[edit]
Use to toggle and set RigidBody angular and linear bone springs (see RB_BodyInstance).