Im having trouble detecting if my constantly moving rigidbody has stopped due to being obstructed or something.
My approach of detecting if the rigidbody has stopped works pretty much like this:
if(rigidbody.velocity.sqrMagnitude < .01){
or
if(rigidbody.IsSleeping())
But i still need a way to delay the detection for a while, Because the rigidbody spawns stationary.
And also, im using fixed update for this.