[ODE] dynamic to static body

Jian Chen jichen8 at vt.edu
Thu Jun 29 23:56:29 MST 2006


Still have trouble. I am replying to my own email to ask for option 3:

It mentioned in the manual that we can do two-space collide. it seems  
one example test_basket.cpp was done in that way. I am still confused  
about how these spaces (island) got created. i printed the number of  
geom in space, the answer is 2 - wondered would the ball and the  
trimesh at different space?

Thanks a lot!
  Best regards,
    --Jian Chen  (jichen8 at vt.edu)

On Jun 30, 2006, at 2:48 AM, Jian Chen wrote:

> Hello,
> I am trying to implement the following but wasn't about to get it  
> work. Any hint is appreciated!!
> Basically, it is a simple scene with blocks.. and users can add  
> blocks and move and stack them together as well. However, I want to  
> have whatever already build keep static and only the newly added  
> block perform collision with existing ones (added previously).
> I tried the following two:
> Option 1:
> When (users drop an object)
> {
>   dBodyDisable(obj[i].body).
> }
> This doesn't have any effects. Objects are knocked down.
> Option 2:
> I also tried:
> dJoint Attach(joint, obj[i].body, 0);
> This will cause the objects fly away. I tried hinge joint and  
> slider joint, but nothing works!
> I am new to ODE.. please help..
> Thanks,
> --Jian Chen  (jichen8 at vt.edu)

More information about the ODE mailing list