Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    245
    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:
    10
    Check your game object rotation. I think constraints are in local space.