- Home /
Object stopped moving detection
Is there method or function to detect when an object has stopped moving? I'm currently working out a state based heuristic based off the number of frames after an object's transform has remained the same its all very clunky and ugly. Any elegant solution out there?
Comment
Answer by Vince · Sep 13, 2010 at 03:21 PM
Found the solution on my own. The object in question has a CharacterController on it, just used that velocity property and checked against Vector3.zero.
Thanks
Your answer
Follow this Question
Related Questions
Web Camera Motion Detection 0 Answers
collision detection fail 1 Answer
Raycast not detecting ground after rotating 0 Answers
How to detect walls, trees, Hedges etc., using ARCore in unity? 0 Answers
Problem with a motion script 0 Answers