(One intermediate revision by the same user not shown)
Line 3:
Line 3:
|Name=Slider
|Name=Slider
}}
}}
The '''Slider''' component allows for an object to be grabbed and moved.
The '''Slider''' component allows for an object to be grabbed and moved. See [[#Usage|Usage]] for more information.
{{Note|If you need a 2D slider for [[UIX]] as an element, see the [[Component:Slider`1|UIX Slider]] component.|suggestion}}
{{Note|If you need a 2D slider for [[UIX]] as an element, see the [[Component:Slider`1|UIX Slider]] component.|suggestion}}
Line 47:
Line 47:
== Usage ==
== Usage ==
This can be used for NPC pickups, grabbing objects and moving them without parenting under a user, or for sliding doors. this can also be used for physical sliders like on audio boards like mixers.
== Examples ==
== Examples ==
Slider - A useful alternative to Grabbable - by [[User:ProbablePrime|ProbablePrime]]:
Slider - A useful alternative to Grabbable - by [[User:ProbablePrime|ProbablePrime]]:
<youtube>9Ynl-d0l81E</youtube>
<youtube>9Ynl-d0l81E</youtube>
This can be used for NPC pickups, grabbing objects and moving them without parenting under a user, or for sliding doors. this can also be used for physical sliders like on audio boards like mixers. It can also be used for
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.
The distance the slider needs to be under from Position in local transforms to snap to it.
Usage
This can be used for NPC pickups, grabbing objects and moving them without parenting under a user, or for sliding doors. this can also be used for physical sliders like on audio boards like mixers.
Examples
Slider - A useful alternative to Grabbable - by ProbablePrime: