Sign in to follow this  
dev578

Determining if an object has been clicked

Recommended Posts

I just implemented animation into my game. I am doing so similar to the way DirectX does it in the skinned mesh sample. I need to somehow figure out if an animated object has been clicked by the mouse. When there was no animation, this was as easy as a call to D3DXIntersect(). The first parameter though is a mesh object, which I don't believe I have. I use D3DXLoadMeshHierarchyFromX() to load in the x file. Any ideas how to check if the object has been clicked? Thank you, Dev578

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