I just created a 2D project, added a circle sprite and a square. Then I added rigidbody with automass and circle collider to the circle. I added a box collider to the square. No script at all. When I run the game, the ball fell down very unsmoothly. My computer is fast enough. So, what happened?
the ball fell down very unsmoothly. My computer is fast enough. So, what happened?
- Did you try turning on interpolation on the rigidbody?
Physics run at fixed timestep so if you want motion to look smooth, turn on interpolation.
- Did it feel unsmooth right when starting the game and got better afterward?
Usually the first frame takes longer than the rest.
- Did you try running a built executable?
The editor does a lot of work unloading and loading assemblies when you hit play etc.
- Does your computer lower power usage for low performance apps?
(Drawing a circle and box doesn’t sound like heavy duty work)