-2
votes
1answer
231 views

Game Editor - When screen is clicked, how do you identify what coordinate you clicked?

This is a follow-up to my earlier question: Game Editor - When screen is clicked, how do you identify which object that is clicked? Something I've noticed is that picking only calculates a ray and ...
2
votes
2answers
264 views

Assigning a different texture based on picking

I'm making a game using XNA. I have some simple objects like cube and sphere, and I would like to change the texture of one face of these objects based on picking. That is, when the cursor is over ...
3
votes
2answers
775 views

Picking 2D objects after transforming camera in XNA

I have an XNA application (a force based visualisation of some circles) that I've implemented zooming and scrolling in, thanks to this guide. Before I had the camera implemented, I had picking ...
2
votes
0answers
1k views

Controlling 3D model with mouse XNA 4.0 C#

I am creating a 3D table tennis game and the racquet (created in Maya 2012) is controlled by the mouse. I have used picking method to control the racquet, however the cursor is not on the racquet. It ...
2
votes
1answer
556 views

Triangle accuracy picking for animated models in XNA

I can do picking with triangle-accuracy for non-animated models, but I also have animated models in my game. How do I do picking on animated models? I use code based on this project for animation. ...