I have 3 objects in Open Inventor: a lamp, a desk, and a painting. I need to

-be able to place them on each other, such as a lamp on a desk, and a painting on a wall, -the objects can't penetrate the walls and floors (which I have a collision-detection method for).

Might you have an idea how to be able to place objects on top of each other? I think that I get the general gist: -Disable the collision-detection engine when moving an object to its accepted placement,

but I'm not sure where to go from there. Any thoughts? Thanks so much for your help!

Recommended Answers

All 2 Replies

Can you place them just before an actual collision could happen? Since they are static object there should be no problem with worrying about them moving

Oh, I guess that was rather obvious. So I don't need to identify what they're colliding with? Like how could I make sure that a desk could be placed with a lamp but it can't go through the wall?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.