๐ŸŽš๏ธPhysics Gadget Slider

This component Requires a Configurable Joint, and the physical qualities of the slider will also be set through this configurable joint and rigidbody

Invert: When set to true, the value returned by the gadget is inverted. This can be used to reverse the direction or effect of the gadget's movement.

Play Range: Defines the minimum absolute value required for the gadget to return a non-zero value. For instance, with a play range of 0.1, the gadget must be moved 10% of its range to yield a result. This setting helps in creating a dead zone where minor movements are ignored.

Threshold: This variable, with a minimum value of 0.01, defines the percentage (0-1) from the required value needed to trigger the associated events. For example, if the threshold is set to 0.1, the OnMax event is called at a value of 0.9, OnMin at -0.9, and OnMid at -0.1 or 0.1.

Step Count: Steps determine which sections the lever will stop on. 0 will not create steps and only use the joint settings. 2 lock a gadget on on/off only. 100 will stop the gadget where you release it

Start Step: The step the lever should start on

On Max Event: This event is triggered based on the configurable joints limits minus the threshold

On Mid Event: This event is triggered based on the configurable joints limits minus the play

On Min Event: This event is triggered based on the configurable joints limits minus the threshold

On Step Event: This event is triggered when the gadget hits the given step along the range of the joint

Last updated