Hi,
I'm having a little trouble figuring out how to do the following:
I have a single object (rectangular box) that I want to constrain to a point in space using a conetwist constraint (or any constraint for that matter).
As I only have one RBD object I am using btConeTwistConstraint (btRigidBody &rbA, const btTransform &rbAFrame) to create the constraint. rbAFrame is the point I would like the object to swing around. This works fine, but the other end of the constraint is attached to the center of the rigid body, whereas I would like to attach it to an arbitrary offset from its object space. For example one end of it, or on its surface.
Is this possible in bullet, if so how? I know it can be done with two rigid bodies as shown in the ragdoll demo, but how can it be done with just one rigid body?