btConeTwistConstraint for single body
Posted: Wed Mar 22, 2017 9:33 pm
I'm having trouble implementing the btConeTwistConstraint. The only example I can ever find is a rag doll scenario.
I'm trying to create a single box shape that will swing like a pendulum in the two directions. So I'm imagining the cone opening downward with the point or pivot point above the box.
Do I need a second rigid body to make this work? The pivot point always seems to end up at the origin for me.
I'm trying to create a single box shape that will swing like a pendulum in the two directions. So I'm imagining the cone opening downward with the point or pivot point above the box.
Do I need a second rigid body to make this work? The pivot point always seems to end up at the origin for me.