- Home /
How to detect if player is moving.
How do you detect if player is moving with c#
Can you edit your post to be more descriptive of the problem?
We can probably answer this but it'll save a lot of time if you describe some of the way your game/situation is set up, and any ways you've tried to solve this yourself so far. This way we'll be less likely to give answers that don't fit your situation.
Answer by iBicha · Aug 29, 2017 at 12:51 AM
You can check the velocity if you are dealing with a rigid body https://docs.unity3d.com/ScriptReference/Rigidbody-velocity.html Of course this depends on your situation
Your answer
Follow this Question
Related Questions
Transform.position assign attempt not valid, and position is infinity on an object? 1 Answer
How to check if my enemy hits the ground at a certain velocity then add explosive force. 1 Answer
Jump Code Not Working (2D C#) 2 Answers
[Unity 4.3] 2D physics - SpeedUp Platform/Slope [C#] 0 Answers
How to check if an object hits the ground hard enough then add explosive force around it (2D) 1 Answer