Home | Tutorials | Wiki | Issues
Ask Your Question
0

Initial Condition for Joints

asked 2013-02-20 16:39:42 -0500

vcparedesc gravatar image

Hi, I would like to know is there is a way to start a simulation with initial angles in a model.

I have tried in a plugin:

Link_A->SetAngle(0,InitialAngle);

But, when the simulation starts, the model move it's joint dynamically to the InitialAngle. I need a model with an initial condition in the joint's angles.

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-20 16:50:48 -0500

hsu gravatar image

Use SetJointPosition, this may be what you want. But if there are active controllers, be sure to set new targets at the same time.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-20 16:39:42 -0500

Seen: 422 times

Last updated: Feb 20 '13