How does physics work in this code?
I am learning unity with free courses on youtube. There was a piece of code which was for the movement of the game object that I didn't actually understand the physics side; pos.x += h speed Time.deltaTime; I think it should be so; pos.x += h + speed * Time.deltaTime; But, in fact, this one doesn't work, why?
Comment
Your answer
Follow this Question
Related Questions
How to transform position to left? 1 Answer
There is a way to set a max to the resultant force in a object ? 1 Answer
how do i make player die when falling certain height? 3 Answers
Make object move back and forth 2 Answers
Enemy attack radius 4 Answers