I am new to unity. I am doing a bus parking game where my bus move and turn well .But I want it to tilt a little whenever it turns left or right. I am just stuck in this problem and I am really in a soup. Please help me out.
I cannot give you a detailed response as you do not have your code here. But I would have it so when the bus is turning you use transform.Rotate to move it on the Y axis to have the appearance of it tilting.
You could look at the sample assets in the assets store
//use this code to move your bus to left and right
var movement = new Vector3(Input.acceleration.normalized.x, 0.0f, 0.0f); rb.velocity = movement * speed;