Skip to content

RB_ConstraintActor

Class in Engine · Engine.RB_ConstraintActor · abstract, placeable, native

Object › Actor › RigidBodyBase › RB_ConstraintActor

Subclasses: RB_BSJointActor, RB_ConstraintActorSpawnable, RB_HingeActor, RB_PrismaticActor, RB_PulleyJointActor

Using it from Lua
h7.find_all("RB_ConstraintActor")            -- live instances
h7.find_class("Engine.RB_ConstraintActor")   -- the class
h7.hook("Engine.RB_ConstraintActor.InitConstraint", fn)

Properties

NameTypeNotes
bDisableCollisionboolconst
bUpdateActor1RefFramebool
bUpdateActor2RefFramebool
ConstraintActor1Actor
ConstraintActor2Actor
ConstraintInstanceRB_ConstraintInstance
ConstraintSetupRB_ConstraintSetup
PulleyPivotActor1Actor
PulleyPivotActor2Actor

Functions

NameDeclaration
InitConstraintfinal native function InitConstraint(Actor Actor1, Actor Actor2, optional name Actor1Bone, optional name Actor2Bone, optional float BreakThreshold)
OnDestroysimulated function OnDestroy(SeqAct_Destroy Action)
OnTogglesimulated function OnToggle(SeqAct_Toggle Action)
OnToggleConstraintDrivesimulated function OnToggleConstraintDrive(SeqAct_ToggleConstraintDrive Action)
SetDisableCollisionfinal native function SetDisableCollision(bool NewDisableCollision)
TermConstraintfinal native function TermConstraint()

Default values

TickGroup=TG_PostAsyncWork
ConstraintInstance=MyConstraintInstance
bDisableCollision=false
bUpdateActor1RefFrame=true
bUpdateActor2RefFrame=true
bCollideActors=false
bHidden=True
DrawScale=0.5
bEdShouldSnap=true
Physics=PHYS_RigidBody
bStatic=false
bNoDelete=true

Inherited

FromMembers
RigidBodyBase0 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions