Determining if an object has been clicked

Started by
-1 comments, last by dev578 18 years ago
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

This topic is closed to new replies.

Advertisement