Search Unity

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. JMPM-UNITY

    JMPM-UNITY

    Unity Technologies

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

    YiboInsane

    Joined:
    Jul 22, 2019
    Posts:
    16