Physics.FixedConstraint¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | Any |
||
Output ➡️ |
The resulting output of the shard | Any |
||
FirstBody |
No | The first body, keep unset to attach to the fixed world | none |
Var(Physics.Body) None |
SecondBody |
No | The second body, keep unset to attach to the fixed world | none |
Var(Physics.Body) None |
Static |
No | Static node, persist when not activated | false |
Bool |
Enabled |
No | Can be used to toggle this node when it has static persistence | true |
Bool Var(Bool) |
Space |
No | This determines in which space the constraint is setup, all other properties should be in the specified space | ConstraintSpace::WorldSpace |
ConstraintSpace |
FirstReferenceFrame |
No | The rotation and position of the connection point for the first body. | [@f4(1 0 0 0) @f4(0 1 0 0) @f4(0 0 1 0) @f4(0 0 0 1)] |
[Float4](4) Var([Float4](4)) |
SecondReferenceFrame |
No | The rotation and position of the connection point for the second body. | [@f4(1 0 0 0) @f4(0 1 0 0) @f4(0 0 1 0) @f4(0 0 0 1)] |
[Float4](4) Var([Float4](4)) |
AutoDetectPoint |
No | When the Space parameter is set to World space, the connection points will be automatically set to the current rotation and position of the two bodies. | true |
Bool Var(Bool) |
This shard rigidly connects two physics bodies together. When forces are applied to either body, they react as if they were a single rigid object.