Andy671
Andy671

Reputation: 75

Unity 5 2d physics lags

I created a project(2D) with the last version of Unity. I added a tiny circle and attached a physics CircleCollider2D and RigidBody2D. When I launch the game I see little freezes when the ball is falling down. On Android I have the same. The profiler shows huge renderer load. What to do with this poor performance?

Upvotes: 0

Views: 817

Answers (1)

juniperi
juniperi

Reputation: 3763

Change Rigidbody2d->interpolate->none to interpolate.

Quote from Rigidbody2d.interpolation documentation:

Interpolation is used to estimate the position of the Rigidbody between physics updates. It can be useful to switch this on when the graphics update is much more frequent than the physics update because the object can appear to move along in jerky "hops" rather than having smooth motion.

Upvotes: 2

Related Questions