bizack
18-11-2008 20:08:35
I believe this is possible. I have a box with a geometry without a body that I've created so that it's motionless. I have subsequent boxes (falling from the sky) that I'd like to attach to one another with a PistonJoint. My problem is correctly detecting a collision between the motionless/bodyless box (which is at ground level) and the first box I'd like to attach to it. My collision method checks for objects with bodies, and connects them with a PistonJoint. I don't quite understand how to attach an object with a body to a an object without a body. Right now the first box falling from the sky falls through the bodyless box and then 'pops' up to the defined lowstop and highstop parameters. I'd like the first falling box to obviously collide with the bodyless box and then attach a PistonJoint. Where is my error? I can include the code if this isn't clear.
Thanks.
Thanks.