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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Locking Axis

Discussion in 'Physics for ECS' started by Ofx360, May 16, 2020.

  1. Ofx360

    Ofx360

    Joined:
    Apr 30, 2013
    Posts:
    152
    Will a more straightforward way to set locked axes like the UnityEngine physics component be coming at some point? Or is one available - Like an additional component?
     
  2. Adam-Mechtley

    Adam-Mechtley

    Unity Technologies

    Joined:
    Feb 5, 2007
    Posts:
    290
    It is in the back log, yes, but just hasn't floated to the top of the priority queue yet. Depending what makes sense for your use case right now, I would suggest looking at samples like this one or this one.
     
    ekakiya likes this.
  3. timothy_j

    timothy_j

    Joined:
    Apr 11, 2020
    Posts:
    12
    Note for people like me who just cut and paste the sample code: when using the second link (or any of the joints from the joints sample) you also need the base joint class and this conversion system to make it work.