Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to detect when a player move in unity
Ricardo Rex
Programming language:
Whatever
2021-03-13 06:59:09
0
Q:
how to detect when a player move in unity
Shelley
Code:
Whatever
2021-08-04 22:02:44
if(rigidbody.velocity.magnitude > 0) //Make This a small number { // Player is moving }
0
Tags
unity
layer
unit
how
when
Related
how to code a move camera in unity
if we control the player with mouse in unity will it work in mobile
how to detect when a gameobject leaves the screen
unity making object move forward without input
unity player look at mouse
New to Communities?
Join the community