[ODE] dynamic to static body

Jian Chen jichen8 at vt.edu
Fri Jun 30 11:29:56 MST 2006


Hi  Jason, Jon and Ignacio!

Thank you very much! It works!


      Best regards,
     --Jian (jichen8 at vt.edu)



On Jun 30, 2006, at 9:30 AM, Jason Perkins wrote:

> On 6/30/06, Jian Chen <jichen8 at vt.edu> wrote:
>> 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).
>
> Once a block is placed, set the geom's body to NULL, and the destroy
> the body. The block will then be static.
>
> Disabled bodies are renabled when another body collides with them.
> Just remove the body entirely.
>
> HTH,
>
> Jason



More information about the ODE mailing list