Coding prismatic joints

Typically: "How do I... ", "How can I... " questions
Post Reply
Irving
Posts: 11
Joined: 24 Jun 2018, 19:55

Coding prismatic joints

Post by Irving » 16 Jul 2018, 17:17

I've created a model that is constructed entirely from a customisation script which runs as the scene starts. However, unless I'm going blind, I've not found a way to set the minimum and range parameters for a prismatic joint (get/setJointPosition works ok for the starting position). Did I miss something?

Irving
Posts: 11
Joined: 24 Jun 2018, 19:55

Re: Coding prismatic joints

Post by Irving » 19 Jul 2018, 17:22

Found the answer by accident looking for something else.

sim.setJointInterval(...) is the (not so obvious) answer.

Post Reply