UE3:RB_ConstraintInstance (UT3)
Object >> RB_ConstraintInstance |
- Package:
- Engine
- This class in other games:
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. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'Angular'
AngularDriveDamping
Type: float
Modifiers: const
Default value: 1.0
AngularDriveForceLimit
Type: float
Modifiers: const
AngularDriveSpring
Type: float
Modifiers: const
Default value: 50.0
AngularPositionTarget
Type: Object.Quat
Modifiers: const
Default value:
Member | Value |
---|---|
W | 1.0 |
X | 0.0 |
Y | 0.0 |
Z | 0.0 |
AngularVelocityTarget
Type: Object.Vector
Modifiers: const
Revolutions per second
bAngularSlerpDrive
Type: bool
Modifiers: const
bSwingPositionDrive
Type: bool
Modifiers: const
bSwingVelocityDrive
Type: bool
Modifiers: const
bTwistPositionDrive
Type: bool
Modifiers: const
bTwistVelocityDrive
Type: bool
Modifiers: const
Property group 'Linear'
bLinearXPositionDrive
Type: bool
Modifiers: const
bLinearXVelocityDrive
Type: bool
Modifiers: const
bLinearYPositionDrive
Type: bool
Modifiers: const
bLinearYVelocityDrive
Type: bool
Modifiers: const
bLinearZPositionDrive
Type: bool
Modifiers: const
bLinearZVelocityDrive
Type: bool
Modifiers: const
LinearDriveDamping
Type: float
Modifiers: const
Default value: 1.0
LinearDriveForceLimit
Type: float
Modifiers: const
LinearDriveSpring
Type: float
Modifiers: const
Default value: 50.0
LinearPositionTarget
Type: Object.Vector
Modifiers: const
LinearVelocityTarget
Type: Object.Vector
Modifiers: const
Internal variables
bInHardware
Type: bool
Modifiers: native, const
Whether we are in the hardware or software scene.
bTerminated
Type: bool
Indicates that this constraint has been terminated
ConstraintData
Type: pointer{class NxJoint}
Modifiers: const, native
Internal use. Physics-engine representation of this constraint.
ConstraintIndex
Type: int
Modifiers: const
Indicates position of this constraint within the array in an PhysicsAssetInstance. Will correspond to RB_ConstraintSetup position in PhysicsAsset.
DummyKinActor
Type: pointer
Modifiers: const, native, private
If bMakeKinForBody1 is true, this is the kinematic body that is made for Body1. Due to the way the ConstraintInstance pooling works, this MUST BE LAST PROPERTY OF THE CLASS.
Owner
Type: Actor
Modifiers: const, transient
Actor that owns this constraint instance. Could be a ConstraintActor, or an actor using a PhysicsAsset containing this constraint. Due to the way the ConstraintInstance pooling works, this MUST BE FIRST PROPERTY OF THE CLASS.
OwnerComponent
Type: PrimitiveComponent
Modifiers: const, transient
PrimitiveComponent containing this constraint.
SceneIndex
Type: int
Modifiers: native, const
Physics scene index.
Native functions
GetConstraintLocation
Get the position of this constraint in world space.
InitConstraint
Create physics engine constraint. If bMakeKinForBody1 is TRUE, then a non-colliding kinematic body is created for Body1 and used instead.
MoveKinActorTransform
If bMakeKinForBody1 was used, this function allows the kinematic body to be moved.
SetAngularDOFLimitScale
Scale Angular Limit Constraints (as defined in RB_ConstraintSetup)
SetAngularDriveParams
SetAngularPositionDrive
SetAngularPositionTarget
SetAngularVelocityDrive
SetAngularVelocityTarget
SetLinearDriveParams
SetLinearLimitSize
Allows you to dynamically change the size of the linear limit 'sphere'.
SetLinearPositionDrive
SetLinearPositionTarget
SetLinearVelocityDrive
SetLinearVelocityTarget
TermConstraint