Mechanical Sliding Joint
In depth learning on Scene Configuration can be found in this course in Motive Academy.
This can be used for a sliding piece of machinery (like the deli slicer) or a drawer.
Rigidbody
Field | Value |
---|---|
Mass, Drag, Angular Drag | Defaults |
Use Gravity | false |
Is Kinematic | false |
Collider
Generally Is Trigger = true, collider is required for Grabbable.
VR Grabbable
Field | Value |
---|---|
Allow Distance Grab | either depending on needs |
Allow Offhand Grab | either |
Snap Position | generally “never” |
Snap Orientation | never |
Ignore Offhand Snap | true |
Track Position | true |
Track Orientation | false * (<- this is important) |
Required Hand | as needed |
Release Behaviour | Leave In Place |
Use gravity, etc | defaults |
Move Mode | physics * (<- also important) |
Sliding Joint
Field | Value |
---|---|
Connected Rigidbody | Make sure to connect |
Unlock Grabbables | Generally point to this object if you only want the joint to activate while being held |
Limit Motion | true |
Lower, Upper limits | as needed |
Use Local Position | If true, applies the limits based on local zero. Otherwise applies limits based on the initial position of the object. |