Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Object with frozen X rotation still rotates around X axis!

Discussion in 'Physics' started by ekergraphics, Apr 12, 2017.

  1. ekergraphics

    ekergraphics

    Joined:
    Feb 22, 2017
    Posts:
    257
    Hello I have an object with the following setup, positioned about 1cm above the floor:



    When I start the player, the object tilts 3 degrees along the X axis until it collides with the floor.

    Is Gravity allowed to override frozen rotations, but not positions, or what am I missing?

    The object is a table that I want the player to be able to move along the floor, but not lift it or tilt it.
     
  2. andrewkn

    andrewkn

    Joined:
    Aug 5, 2015
    Posts:
    1
    I have the same problem!
     
  3. MenteBacata

    MenteBacata

    Joined:
    Dec 20, 2016
    Posts:
    49
    Check your game object rotation. I think constraints are in local space.