hi,
Are there any advantages to using btHingedConstraints and btConeTwistConstraint to construct a ragdoll, rather than using plain btGenericD6Constraints?
Thanks!
Best constraints for ragdoll
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Best constraints for ragdoll
As you noticed, there are demos to create ragdolls for both cases.
The btHingedConstraints and btConeTwistConstraint is tailored to do the job, so if it suits your ragdoll construction it is recommended. Those constraints are better defined (less error-prone to setup) and easier to optimize in the future.
The btGenericD6Constraint is more general purpose.
Hope this helps,
Erwin
The btHingedConstraints and btConeTwistConstraint is tailored to do the job, so if it suits your ragdoll construction it is recommended. Those constraints are better defined (less error-prone to setup) and easier to optimize in the future.
The btGenericD6Constraint is more general purpose.
Hope this helps,
Erwin