Sign in to follow this  
lucky6969b

Placing objects in a scene

Recommended Posts

Hello,

Let's say there is racking system in my simulation,

I'd like to put a pallet in-between the first level and the second

level of the rack. If say there is a supporting plane of steel

for the rack, how can I make sure the pallet is sitting on

the steel rather than on other objects, like the floor

This question is about accurate picking and object placement.

Any good readings I can take?

As titled, better off be an example on D3D9/D3DX

Thanks

Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites

If I understand your question correctly, you're looking for [i]collision detection[/i] and [i]collision response[/i]. Detection will tell you if an object is touching another, and response will let you stack objects, bounce things off each other, and so on.

 

This is more of a physics problem than a graphics problem, so it shouldn't have anything to do with Direct3D.

Share this post


Link to post
Share on other sites

Seems to be the right thing I am looking for - Collision Detection

I just thought picking would do the job just by itself, Now I can add Collision Detection to it.

BTW, are there any open source game editors out there on the web?

I need the things mentioned above for my new game editor.

Thanks

Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this