Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Lock axis with 1.0 physics

Discussion in 'Physics for ECS' started by YiboInsane, Dec 21, 2022.

  1. YiboInsane

    YiboInsane

    Joined:
    Jul 22, 2019
    Posts:
    16
    Hi All,

    I was wondering if there is any way to set up an entity with physics body that locks a particular axis, for either rotation or position?

    I remember that in old version you have a setting called inertia to do this. But now I could not find it.
    Or should I simply implement a system that constantly set the transform to lock the values?

    Best
     
    UniqueCode likes this.
  2. JosepMariaPujol

    JosepMariaPujol

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    89
  3. YiboInsane

    YiboInsane

    Joined:
    Jul 22, 2019
    Posts:
    16