Skip to content

Physics.SliderConstraint

Name - Description Default Type
<input> Any
<output> Any
FirstBody The first body, keep unset to attach to the fixed world none Var(Physics.Body)
SecondBody The second body, keep unset to attach to the fixed world none Var(Physics.Body)
Static Static node, persist when not activated false Bool
Enabled Can be used to toggle this node when it has static persistence true BoolVar(Bool)
Space This determines in which space the constraint is setup, all other properties should be in the specified space ConstraintSpace::LocalToBodyCOM ConstraintSpace
FirstPoint Body 1 constraint reference frame (space determined by Space) @f3(0 0 0) Float3Var(Float3)
SecondPoint Body 2 constraint reference frame (space determined by Space) @f3(0 0 0) Float3Var(Float3)
SliderAxis Axis along which movement is possible (direction) @f3(1 0 0) Float3Var(Float3)
NormalAxis Perpendicular vector to define the frame @f3(0 1 0) Float3Var(Float3)
LimitsMin Minimum limit of movement 1.17549e-38 FloatVar(Float)
LimitsMax Maximum limit of movement 3.40282e+38 FloatVar(Float)
LimitSpring When set, makes the limits soft {damping: 1 frequency: 0} {frequency: Float damping: Float}{stiffness: Float damping: Float}Var({frequency: Float damping: Float})Var({stiffness: Float damping: Float})
MaxFrictionForce Maximum amount of friction force to apply (N) when not driven by a motor 0 FloatVar(Float)
MotorSettings Motor settings around the sliding axis {maxForceLimit: 3.40282e+38 maxTorqueLimit: 3.40282e+38 minForceLimit: 1.17549e-38 minTorqueLimit: 1.17549e-38} {minForceLimit: Float maxForceLimit: Float minTorqueLimit: Float maxTorqueLimit: Float}Var({minForceLimit: Float maxForceLimit: Float minTorqueLimit: Float maxTorqueLimit: Float})
MotorSpringSettings Motor settings around the sliding axis {damping: 1 frequency: 0} {frequency: Float damping: Float}{stiffness: Float damping: Float}Var({frequency: Float damping: Float})Var({stiffness: Float damping: Float})