๐ฏStickies
Last updated
Last updated
In a Unity scene, you would attach the Sticky
script to objects you want to act as 'sticky surfaces' (like a glue pad), and the Stickable
script to objects that can stick to these surfaces (like a paper or ball). When a stickable object collides with a sticky surface at the right speed and angle, and their stick indices match, they will stick together. This feature is particularly useful in physics-based puzzles, VR interactions, or any scenario where you want to simulate objects adhering to each other temporarily.
A rigidbody with this component will create a connection when colliding with a sticky component
Stick Strength
the amount of additional force required to break the connection between the Sticky and the Stickable
Stick Speed Multiplier
the higher this value is, the less speed is required for the Stickable to stick the a valid Sticky
Stick Index
must match the stick index on the Sticky for a valid stick
A rigidbody with this component will create a connection when colliding with a stickable component
Stick Strength
the amount of additional force required to break the connection between the Sticky and the Stickable
Required Stick Speed
the higher this value is the more velocity is required when hit by a stickable
Stick Index
must match the stick index on the Sticky for a valid stick