Hi !
I am about to construct a model. I understood how the function btcompoundshape work, the problem is that I am unable to create a joint between two objects made by btCompoundshape. (I can not specify the junction)
i don't know if it's possible but i hope !
thanks for your Help
M
Joint between 2 objects made by btcompoundShape !
-
- Posts: 25
- Joined: Mon Oct 08, 2007 2:09 pm
- Location: France
-
- Posts: 15
- Joined: Thu Jan 11, 2007 7:45 pm
Re: Joint between 2 objects made by btcompoundShape !
objects in a compound shape are fixed together statically. you can not specify any degrees of freedom.
-
- Posts: 25
- Joined: Mon Oct 08, 2007 2:09 pm
- Location: France
Re: Joint between 2 objects made by btcompoundShape !
Hi !
thanks for replay
I mean by this 2 compoundShape ! so i want to create joint between then.
M
thanks for replay
I mean by this 2 compoundShape ! so i want to create joint between then.
M
-
- Posts: 15
- Joined: Thu Jan 11, 2007 7:45 pm
Re: Joint between 2 objects made by btcompoundShape !
oh ok, what you need to do is add a btTypedConstraint,
see src/BulletDynamics/ConstraintSolver/ to find out what types of constraints are available,
also check out some of the sample code such as the constraint demo
see src/BulletDynamics/ConstraintSolver/ to find out what types of constraints are available,
also check out some of the sample code such as the constraint demo