dapaul
01-08-2008 14:27:01
Hi All (Hope Mr. Walaber will read my post),
I'm having some trouble with hinge joints when I use it to combine two compound collisions.
I'm working on a private project that involves robotics simulation. The robot is built from multiple parts. Initially, I used joints to represent the connections between parts. However, this proved very inefficient. So I decided to use a combination of compound collisions and hinge joints. For connected parts that are static, I used a compound collision and hinge joints for dynamic parts (wheels, etc.).
These are the compound collisions I'm working with:
When I apply the hinge joints, this is what happens:
I applied a force to each of the encircled regions to make the spin. Among the three motors, only the one encircled in red is spinning. The other two clearly are interpenetrating and not spinning. I've verified the pin directions as well as the joint position. The difference between the red one is that the orange wheel is not a compound collision, it is a single body. Meanwhile, the one on the sides are compound collisions which are jointed to the main body.
I initially thought that the problem was the mass, but after getting rid of most of the things attached to the wheel and also making the masses smaller, there is no change. the only time they spun was when the orange wheel is not compounded with anything else.
What is wrong with this setup?
I hope somebody can help me, thanks in advance
I'm having some trouble with hinge joints when I use it to combine two compound collisions.
I'm working on a private project that involves robotics simulation. The robot is built from multiple parts. Initially, I used joints to represent the connections between parts. However, this proved very inefficient. So I decided to use a combination of compound collisions and hinge joints. For connected parts that are static, I used a compound collision and hinge joints for dynamic parts (wheels, etc.).
These are the compound collisions I'm working with:
When I apply the hinge joints, this is what happens:
I applied a force to each of the encircled regions to make the spin. Among the three motors, only the one encircled in red is spinning. The other two clearly are interpenetrating and not spinning. I've verified the pin directions as well as the joint position. The difference between the red one is that the orange wheel is not a compound collision, it is a single body. Meanwhile, the one on the sides are compound collisions which are jointed to the main body.
I initially thought that the problem was the mass, but after getting rid of most of the things attached to the wheel and also making the masses smaller, there is no change. the only time they spun was when the orange wheel is not compounded with anything else.
What is wrong with this setup?
I hope somebody can help me, thanks in advance