Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to detect when a player move in unity

if(rigidbody.velocity.magnitude > 0) //Make This a small number
 {
   // Player is moving
 }
 
PREVIOUS NEXT
Tagged: #detect #player #move #unity
ADD COMMENT
Topic
Name
2+4 =