Mostly Harmless
UE3:RB_ConstraintInstance (UT3)
Object >> RB_ConstraintInstance |
Contents
- 1 Properties
- 1.1 Property group 'Angular'
- 1.2 Property group 'Linear'
- 1.2.1 bLinearXPositionDrive
- 1.2.2 bLinearXVelocityDrive
- 1.2.3 bLinearYPositionDrive
- 1.2.4 bLinearYVelocityDrive
- 1.2.5 bLinearZPositionDrive
- 1.2.6 bLinearZVelocityDrive
- 1.2.7 LinearDriveDamping
- 1.2.8 LinearDriveForceLimit
- 1.2.9 LinearDriveSpring
- 1.2.10 LinearPositionTarget
- 1.2.11 LinearVelocityTarget
- 1.3 Internal variables
- 2 Native functions
- 2.1 GetConstraintLocation
- 2.2 InitConstraint
- 2.3 MoveKinActorTransform
- 2.4 SetAngularDOFLimitScale
- 2.5 SetAngularDriveParams
- 2.6 SetAngularPositionDrive
- 2.7 SetAngularPositionTarget
- 2.8 SetAngularVelocityDrive
- 2.9 SetAngularVelocityTarget
- 2.10 SetLinearDriveParams
- 2.11 SetLinearLimitSize
- 2.12 SetLinearPositionDrive
- 2.13 SetLinearPositionTarget
- 2.14 SetLinearVelocityDrive
- 2.15 SetLinearVelocityTarget
- 2.16 TermConstraint
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[edit]
Property group 'Angular'[edit]
AngularDriveDamping[edit]
Type: float
Modifiers: const
Default value: 1.0
AngularDriveForceLimit[edit]
Type: float
Modifiers: const
AngularDriveSpring[edit]
Type: float
Modifiers: const
Default value: 50.0
AngularPositionTarget[edit]
Type: Object.Quat
Modifiers: const
Default value:
Member | Value |
---|---|
W | 1.0 |
X | 0.0 |
Y | 0.0 |
Z | 0.0 |
AngularVelocityTarget[edit]
Type: Object.Vector
Modifiers: const
Revolutions per second
bAngularSlerpDrive[edit]
Type: bool
Modifiers: const
bSwingPositionDrive[edit]
Type: bool
Modifiers: const
bSwingVelocityDrive[edit]
Type: bool
Modifiers: const
bTwistPositionDrive[edit]
Type: bool
Modifiers: const
bTwistVelocityDrive[edit]
Type: bool
Modifiers: const
Property group 'Linear'[edit]
bLinearXPositionDrive[edit]
Type: bool
Modifiers: const
bLinearXVelocityDrive[edit]
Type: bool
Modifiers: const
bLinearYPositionDrive[edit]
Type: bool
Modifiers: const
bLinearYVelocityDrive[edit]
Type: bool
Modifiers: const
bLinearZPositionDrive[edit]
Type: bool
Modifiers: const
bLinearZVelocityDrive[edit]
Type: bool
Modifiers: const
LinearDriveDamping[edit]
Type: float
Modifiers: const
Default value: 1.0
LinearDriveForceLimit[edit]
Type: float
Modifiers: const
LinearDriveSpring[edit]
Type: float
Modifiers: const
Default value: 50.0
LinearPositionTarget[edit]
Type: Object.Vector
Modifiers: const
LinearVelocityTarget[edit]
Type: Object.Vector
Modifiers: const
Internal variables[edit]
bInHardware[edit]
Type: bool
Modifiers: native, const
Whether we are in the hardware or software scene.
bTerminated[edit]
Type: bool
Indicates that this constraint has been terminated
ConstraintData[edit]
Type: pointer{class NxJoint}
Modifiers: const, native
Internal use. Physics-engine representation of this constraint.
ConstraintIndex[edit]
Type: int
Modifiers: const
Indicates position of this constraint within the array in an PhysicsAssetInstance. Will correspond to RB_ConstraintSetup position in PhysicsAsset.
DummyKinActor[edit]
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[edit]
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[edit]
Type: PrimitiveComponent
Modifiers: const, transient
PrimitiveComponent containing this constraint.
SceneIndex[edit]
Type: int
Modifiers: native, const
Physics scene index.
Native functions[edit]
GetConstraintLocation[edit]
Get the position of this constraint in world space.
InitConstraint[edit]
Create physics engine constraint. If bMakeKinForBody1 is TRUE, then a non-colliding kinematic body is created for Body1 and used instead.
MoveKinActorTransform[edit]
If bMakeKinForBody1 was used, this function allows the kinematic body to be moved.
SetAngularDOFLimitScale[edit]
Scale Angular Limit Constraints (as defined in RB_ConstraintSetup)
SetAngularDriveParams[edit]
SetAngularPositionDrive[edit]
SetAngularPositionTarget[edit]
SetAngularVelocityDrive[edit]
SetAngularVelocityTarget[edit]
SetLinearDriveParams[edit]
SetLinearLimitSize[edit]
Allows you to dynamically change the size of the linear limit 'sphere'.