Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

PhysicsDemo issue

Discussion in 'Project Tiny' started by Scorch32, Jan 15, 2019.

  1. Scorch32

    Scorch32

    Joined:
    Jan 15, 2019
    Posts:
    2
    I have a problem with PhysicsDemo.

    The movement of objects with RigidBody2D feels very slow.
    I decided to adjust some components. I increased the impulse on Ball1 and Ball2 up to 200. I barely see any difference. Further increasing of the values seems to have no effect at all.

    When I increase speed and upForce parameters on Square5 or ut.Physics2D.Physics2DConfig.gravity, I get same results.

    Decreasing any of these parameters works fine thought.
    Feels like there is some sort of limitation on maximum speed for objects.
     
  2. Nkon

    Nkon

    Unity Technologies

    Joined:
    Jun 12, 2017
    Posts:
    65
    Hi there,

    You're correct, there is a maximum speed for the physics objects. The scene in the physics demo has quite large dimensions, for example the camera has halfVerticalSize of 600 and the balls have a radius of 45. This means they can easily reach their maximum speed in units/sec.

    Usually I have halfVerticalSize set to something like 10. That way the physics work much better.

    Cheers!
     
    ER_Dolleman, Scorch32 and abeisgreat like this.