The Joint component allows for a slot or object to rotate around a single point, in any direction, or around an axis. Common uses are doors, helmet tops, and dials.
the Joint component allows for a slot or object to rotate around a single point, in any direction, or around an axis. common uses are doors, helmet tops, and dials.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|EditModeOnly|Bool| User can only interact with the joint in Edit Mode
|EditModeOnly|Bool| User can only interact with the joint in [[Edit Mode]]
|AllowSteal|Bool| Controls whether other users can steal the grabbable joint from other players
|AllowSteal|Bool| Controls whether other users can steal the grabbable joint from other players
|DropOnDisable|Bool| Controls whether the user drops the joint if the object has been disabled
|DropOnDisable|Bool| Controls whether the user drops the joint if the object has been disabled
Line 43:
Line 41:
}}
}}
== Behavior ==
== Usage ==
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=Ut2rqPmRfzo Using Joint to make A Door Pt. 1] by [[User:ProbablePrime|ProbablePrime]]
Here is a video explaining how joints work by making a door (by [[User:Stellanora|Stellanora]])
* [https://www.youtube.com/watch?v=ql6PNOHT-0s Using Joint to make a Door pt.2] by [[User:ProbablePrime|ProbablePrime]]
<youtube>aLUYB9TMxNw</youtube>
Here are some old videos by [[User:ProbablePrime|ProbablePrime]]
The Joint component allows for a slot or object to rotate around a single point, in any direction, or around an axis. Common uses are doors, helmet tops, and dials.
Determines what gets grabbed if several grabbable objects are touching someone's grab sphere. The IGrabbable with the highest priority will be grabbed first. If the highest priority ties with another IGrabbable, it will grab both of those and ignore any lower priority IGrabbables.