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

Programmatically Set ArticulationBody Motion type

Discussion in 'Unity Simulation' started by bwhelan, Dec 10, 2021.

Thread Status:
Not open for further replies.
  1. bwhelan

    bwhelan

    Joined:
    Aug 23, 2021
    Posts:
    3
    Hi,

    I have been using ArticulationBody components to build and simulate a robotic manipulator. I am not trying to have a script build the whole arm programmatically at runtime. Everything has worked thusfar until I got to setting joint limits. It appears that in the scripting documentation there is no way to access changing this drive motion from "Free" to "Limited" or vice versa. I am using version 2020.3.20f1 and both in the code and documentation it doesn't look like this is accessible.

    Any help would be greatly appreciated. I can always just make a script to have joint limits that are controlled when I command motion targets.
     
  2. redmond_tran_unity

    redmond_tran_unity

    Unity Technologies

    Joined:
    Oct 14, 2020
    Posts:
    3
  3. bwhelan

    bwhelan

    Joined:
    Aug 23, 2021
    Posts:
    3
    Oh great thank you!
     
Thread Status:
Not open for further replies.