Tagged Questions
-2
votes
1answer
209 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
226 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
555 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 ...
0
votes
0answers
219 views
Why does RayIntersect return wrong values?
I'm trying to implement Object picking. My BasicModel.cs has a function:
public bool CheckRayIntersection(Ray ray)
{
//Where aabb is the BasicModel's BoundingBox
if ...
1
vote
0answers
957 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
522 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.
...
