Randomized Floating
Place the FloatRandomized
script on the object with the Rigidbody
, done.
Now every time the rigidbody of the object collides with another object, it will randomize its applied velocity in a direction that is perpendicular to the object's gravity normal. Meaning the randomized force will also work in all gravity zones.
Last updated