Jump to content
  • Advertisement
Sign in to follow this  

ODE: objects that respond to collision detection but not to physics

This topic is 4010 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i implemented ODE and basic simulation is working just fine, now i'd like to add support for objects that other objects can collide with, but that are themselves not subject to physics and that i can translate/rotate manually; the player, e.g., should be able to push around crates and stuff but shouldn't be pushed around or thrown over himself and he shouldn't be able to pass through walls or the floor. i tried the following: - create a geom without a body. this way other objects respond to it (they won't pass through etc), it is not affected by the physics simulation and i can translate/rotate it manually. problem: collision detection doesn't work, the geom just passes through other geometry. - create a geom & a body as usual, but reset linear/angular velocity each frame. this way collision detection works, but i cannot manually control the object. thanks :)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!