Hi,
Can anyone tell me, definitively, to which axis does each of the coneTwist constraint limits correspond? I've found two forum posts that give different opinions (one says the twist axis is X, the other that it is Z) and my own attempts to experiment/deduce it from the demos have proved inconclusive...
Many thanks,
Kate
btConeTwistConstraint limits question
-
- Posts: 41
- Joined: Thu Jan 08, 2009 11:20 am
- Location: London, UK
-
- Posts: 56
- Joined: Sat Mar 08, 2008 12:37 am
Re: btConeTwistConstraint limits question
Hello Kate,
Twist axis for the btConeTwistConstraint is the X axis.
You can see it in the "appConstraintDemo", where the debug drawing of constraint limits is turned on. X axis is red, Y is green and Z is blue. You may also wish to comment out all other constraints in the demo
Thanks,
Roman
Twist axis for the btConeTwistConstraint is the X axis.
You can see it in the "appConstraintDemo", where the debug drawing of constraint limits is turned on. X axis is red, Y is green and Z is blue. You may also wish to comment out all other constraints in the demo
Thanks,
Roman
-
- Posts: 41
- Joined: Thu Jan 08, 2009 11:20 am
- Location: London, UK
Re: btConeTwistConstraint limits question
Hi Roman,
Thanks for answering I thought it was that way round, but got a bit confused because when I tested my implementation by setting the swing limits to zero, it behaved a little strangely... but using larger values it seems to work.
Regards,
Kate
Thanks for answering I thought it was that way round, but got a bit confused because when I tested my implementation by setting the swing limits to zero, it behaved a little strangely... but using larger values it seems to work.
Regards,
Kate
-
- Posts: 56
- Joined: Sat Mar 08, 2008 12:37 am
Re: btConeTwistConstraint limits question
Hello Kate,
Instability of the btConeTwistConstraint when swing limits are zero will be fixed in 2.74
Actually the code was already committed to GoogleCode as of r1628
Thanks,
Roman
Instability of the btConeTwistConstraint when swing limits are zero will be fixed in 2.74
Actually the code was already committed to GoogleCode as of r1628
Thanks,
Roman
-
- Posts: 41
- Joined: Thu Jan 08, 2009 11:20 am
- Location: London, UK
Re: btConeTwistConstraint limits question
Ah, cool - that's much nicer, thanks