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

Locking all axis of rotation on a body make it ignore the friction value

Discussion in 'Physics for ECS' started by Mockarutan, May 12, 2020.

  1. Mockarutan

    Mockarutan

    Joined:
    May 22, 2011
    Posts:
    158
    I don't know if this is a regression or if something else is at play here. But I made a first person character controller which used a capsule with InverseInertia set to (0, 0, 0). Then I made the movement system depend on rotation other parts, rather than the main body. This was late last year, and it worked a few months ago I believe, but now it seems like setting InverseInertia to (0, 0, 0) make the body ignore the friction value completely. My character slowly glides down any slight slope. If I set it to (0, 1, 0), allowing rotation along the Y axis, friction works again.

    Has anybody else tried or noticed this? I will probably make a repo, but I wounder if I'm alone with this problem?