Constraints question- lockable?
-
- Posts: 73
- Joined: Tue Oct 06, 2009 3:19 pm
Constraints question- lockable?
I have been reading through the code and the manual and have not seen this. So before I tried to put it together I wanted to ask if there is some way to lock and unlock a joint in real time?
-
- Posts: 73
- Joined: Tue Oct 06, 2009 3:19 pm
Re: Constraints question- lockable?
OK how about some sort of method to force them to be less flexible that can be changed on the fly?
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Constraints question- lockable?
The btGeneric6DofConstraint::setLimit can be set and used to lock/unlock the constraint for each of the 6 (3 linear, 3 angular) degrees of freedom. Also, its motors can be set on the fly.
Thanks,
Erwin
Thanks,
Erwin
-
- Posts: 73
- Joined: Tue Oct 06, 2009 3:19 pm
Re: Constraints question- lockable?
Thanks a ton, thats exactly what I was looking for.