[ODE] dynamic to static body

Jason Perkins starkos at gmail.com
Fri Jun 30 06:30:18 MST 2006


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