Hi there, working on a 2d ‘endless runner’ style platformer, and when I updated the project to Unity 5, the player still runs at the same horizontal velocity, but it appears to have no gravity effects (I did check gravity and mass in the rigidbody, they’re unchanged since Unity 4 version). Also the player doesnt just float mid-air on the y axis but appears to go a little bit upwards.
transform.position = new Vector2 (Speed * timer, transform.position.y);
Thats the line of code I use to make the player move rightwards, where timer is essentially just Time.timeSincelevelLoad, possibly a change in unity 5 makes it not work?
Any help would be appreciated, thanks