The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:RB_ConstraintActor (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> RigidBodyBase >> RB_ConstraintActor
Package: 
Engine
Direct subclasses:
RB_BSJointActor, RB_ConstraintActorSpawnable, RB_HingeActor, RB_PrismaticActor, RB_PulleyJointActor
This class in other games:
UT3

The Basic constraint actor class.

Properties

Property group 'Pulley'

PulleyPivotActor1

Type: Actor


PulleyPivotActor2

Type: Actor


Property group 'RB_ConstraintActor'

bDisableCollision

Type: bool

Modifiers: const


bUpdateActor1RefFrame

Type: bool


Default value: True

bUpdateActor2RefFrame

Type: bool


Default value: True

ConstraintActor1

Type: Actor


ConstraintActor2

Type: Actor


ConstraintInstance

Type: RB_ConstraintInstance

Modifiers: editinline, export, noclear


Default value: RB_ConstraintInstance'Engine.Default__RB_ConstraintActor:MyConstraintInstance'

ConstraintSetup

Type: RB_ConstraintSetup

Modifiers: editinline, export, noclear


Default values

Property Value
bEdShouldSnap True
bHidden True
bNoDelete True
Components[0] SpriteComponent'Sprite'
Components[1] RB_ConstraintDrawComponent'MyConDrawComponent'
DrawScale 0.5
Physics PHYS_RigidBody
SupportedEvents[4] Class'Engine.SeqEvent_ConstraintBroken'
TickGroup TG_PostAsyncWork

Subobjects

MyConDrawComponent

Class: Engine.RB_ConstraintDrawComponent

Property Value
ReplacementPrimitive None

MyConstraintInstance

Class: Engine.RB_ConstraintInstance

No new values.

Sprite

Class: Engine.SpriteComponent

Property Value
AlwaysLoadOnClient False
AlwaysLoadOnServer False
HiddenGame True
ReplacementPrimitive None

Functions

Native functions

InitConstraint

native final function InitConstraint (Actor Actor1, Actor Actor2, optional name Actor1Bone, optional name Actor2Bone, optional float BreakThreshold)


SetDisableCollision

native final function SetDisableCollision (bool NewDisableCollision)


TermConstraint

native final function TermConstraint ()


Other instance functions

OnDestroy

simulated function OnDestroy (SeqAct_Destroy Action)

Overrides: Actor.OnDestroy

When destroyed using Kismet, break the constraint.

OnToggle

simulated function OnToggle (SeqAct_Toggle Action)

When destroyed using Kismet, break the constraint.

OnToggleConstraintDrive

simulated function OnToggleConstraintDrive (SeqAct_ToggleConstraintDrive Action)

Handle 'Toggle Constraint Drive' kismet action