Hello,im making a game (for learning) similar to the mobile game ‘Subway Surfers’,i want to make the cube move like the character in that mobile game but i don’t want to do it by using “transform.position = …” because i also want the physics being applied when the cube is moving from one lane to another.I hope someone can understand what i’m asking for and can help me.
Well that’s a broad question to ask, but for one thing instead of using "transform.position = " you can use “rigidbody.MovePosition”.
In the physics simulation, the Rigidbody controls the Transform.
I don’t know anything about Subway Surfers, but is there a reason why you can’t add a force to make your movements?