Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.RB_ConstraintInstance

Extends
Object
Modifiers
hidecategories ( Object ) native ( Physics )

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.RB_ConstraintInstance

Constants Summary
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
boolbInHardware
boolbTerminated
pointerConstraintData
intConstraintIndex
pointerDummyKinActor
ActorOwner
PrimitiveComponentOwnerComponent
intSceneIndex
Angular
floatAngularDriveDamping
floatAngularDriveForceLimit
floatAngularDriveSpring
quatAngularPositionTarget
vectorAngularVelocityTarget
boolbAngularSlerpDrive
boolbSwingPositionDrive
boolbSwingVelocityDrive
boolbTwistPositionDrive
boolbTwistVelocityDrive
Linear
boolbLinearXPositionDrive
boolbLinearXVelocityDrive
boolbLinearYPositionDrive
boolbLinearYVelocityDrive
boolbLinearZPositionDrive
boolbLinearZVelocityDrive
floatLinearDriveDamping
floatLinearDriveForceLimit
floatLinearDriveSpring
vectorLinearPositionTarget
vectorLinearVelocityTarget
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
functionvector GetConstraintLocation ()
function InitConstraint (PrimitiveComponent PrimComp1, PrimitiveComponent PrimComp2, RB_ConstraintSetup Setup, float Scale, Actor InOwner, PrimitiveComponent InPrimComp, bool bMakeKinForBody1)
function MoveKinActorTransform (out matrix NewTM)
function SetAngularDOFLimitScale (float InSwing1LimitScale, float InSwing2LimitScale, float InTwistLimitScale, RB_ConstraintSetup InSetup)
function SetAngularDriveParams (float InSpring, float InDamping, float InForceLimit)
function SetAngularPositionDrive (bool bEnableSwingDrive, bool bEnableTwistDrive)
function SetAngularPositionTarget (quat InPosTarget)
function SetAngularVelocityDrive (bool bEnableSwingDrive, bool bEnableTwistDrive)
function SetAngularVelocityTarget (vector InVelTarget)
function SetLinearDriveParams (float InSpring, float InDamping, float InForceLimit)
function SetLinearLimitSize (float NewLimitSize)
function SetLinearPositionDrive (bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive)
function SetLinearPositionTarget (vector InPosTarget)
function SetLinearVelocityDrive (bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive)
function SetLinearVelocityTarget (vector InVelTarget)
function TermConstraint ()
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

bInHardware Source code

var native const bool bInHardware;
Whether we are in the hardware or software scene.

bTerminated Source code

var bool bTerminated;
Indicates that this constraint has been terminated

ConstraintData Source code

var const native pointer ConstraintData;
Internal use. Physics-engine representation of this constraint.

ConstraintIndex Source code

var const int ConstraintIndex;
Indicates position of this constraint within the array in an PhysicsAssetInstance. Will correspond to RB_ConstraintSetup position in PhysicsAsset.

DummyKinActor Source code

var const native private pointer DummyKinActor;
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 Source code

var const transient Actor Owner;
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 Source code

var const transient PrimitiveComponent OwnerComponent;
PrimitiveComponent containing this constraint.

SceneIndex Source code

var native const int SceneIndex;
Physics scene index.

Angular

AngularDriveDamping Source code

var(Angular) const float AngularDriveDamping;

AngularDriveForceLimit Source code

var(Angular) const float AngularDriveForceLimit;

AngularDriveSpring Source code

var(Angular) const float AngularDriveSpring;

AngularPositionTarget Source code

var(Angular) const quat AngularPositionTarget;

AngularVelocityTarget Source code

var(Angular) const vector AngularVelocityTarget;

bAngularSlerpDrive Source code

var(Angular) const bool bAngularSlerpDrive;

bSwingPositionDrive Source code

var(Angular) const bool bSwingPositionDrive;

bSwingVelocityDrive Source code

var(Angular) const bool bSwingVelocityDrive;

bTwistPositionDrive Source code

var(Angular) const bool bTwistPositionDrive;

bTwistVelocityDrive Source code

var(Angular) const bool bTwistVelocityDrive;

Linear

bLinearXPositionDrive Source code

var(Linear) const bool bLinearXPositionDrive;

bLinearXVelocityDrive Source code

var(Linear) const bool bLinearXVelocityDrive;

bLinearYPositionDrive Source code

var(Linear) const bool bLinearYPositionDrive;

bLinearYVelocityDrive Source code

var(Linear) const bool bLinearYVelocityDrive;

bLinearZPositionDrive Source code

var(Linear) const bool bLinearZPositionDrive;

bLinearZVelocityDrive Source code

var(Linear) const bool bLinearZVelocityDrive;

LinearDriveDamping Source code

var(Linear) const float LinearDriveDamping;

LinearDriveForceLimit Source code

var(Linear) const float LinearDriveForceLimit;

LinearDriveSpring Source code

var(Linear) const float LinearDriveSpring;

LinearPositionTarget Source code

var(Linear) const vector LinearPositionTarget;

LinearVelocityTarget Source code

var(Linear) const vector LinearVelocityTarget;


Functions Detail

GetConstraintLocation Source code

final native function vector GetConstraintLocation ( )
Get the position of this constraint in world space.

InitConstraint Source code

final native function InitConstraint ( PrimitiveComponent PrimComp1, PrimitiveComponent PrimComp2, RB_ConstraintSetup Setup, float Scale, Actor InOwner, PrimitiveComponent InPrimComp, bool bMakeKinForBody1 )
Create physics engine constraint. If bMakeKinForBody1 is TRUE, then a non-colliding kinematic body is created for Body1 and used instead.

MoveKinActorTransform Source code

final native function MoveKinActorTransform ( out matrix NewTM )
If bMakeKinForBody1 was used, this function allows the kinematic body to be moved.

SetAngularDOFLimitScale Source code

final native function SetAngularDOFLimitScale ( float InSwing1LimitScale, float InSwing2LimitScale, float InTwistLimitScale, RB_ConstraintSetup InSetup )
Scale Angular Limit Constraints (as defined in RB_ConstraintSetup)

SetAngularDriveParams Source code

final native function SetAngularDriveParams ( float InSpring, float InDamping, float InForceLimit )

SetAngularPositionDrive Source code

final native function SetAngularPositionDrive ( bool bEnableSwingDrive, bool bEnableTwistDrive )

SetAngularPositionTarget Source code

final native function SetAngularPositionTarget ( quat InPosTarget )

SetAngularVelocityDrive Source code

final native function SetAngularVelocityDrive ( bool bEnableSwingDrive, bool bEnableTwistDrive )

SetAngularVelocityTarget Source code

final native function SetAngularVelocityTarget ( vector InVelTarget )

SetLinearDriveParams Source code

final native function SetLinearDriveParams ( float InSpring, float InDamping, float InForceLimit )

SetLinearLimitSize Source code

final native function SetLinearLimitSize ( float NewLimitSize )
Allows you to dynamically change the size of the linear limit 'sphere'.

SetLinearPositionDrive Source code

final native function SetLinearPositionDrive ( bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive )

SetLinearPositionTarget Source code

final native function SetLinearPositionTarget ( vector InPosTarget )

SetLinearVelocityDrive Source code

final native function SetLinearVelocityDrive ( bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive )

SetLinearVelocityTarget Source code

final native function SetLinearVelocityTarget ( vector InVelTarget )

TermConstraint Source code

final native noexport function TermConstraint ( )


Defaultproperties

defaultproperties
{
   LinearDriveSpring=50.000000
   LinearDriveDamping=1.000000
   AngularPositionTarget=(X=0.000000,Y=0.000000,Z=0.000000,W=1.000000)
   AngularDriveSpring=50.000000
   AngularDriveDamping=1.000000
   Name="Default__RB_ConstraintInstance"
   ObjectArchetype=Object'Core.Default__Object'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:42.113 - Created with UnCodeX