Advertisement

Can someone get this XNA project to run on Windows 7 64-bit?

Started by February 25, 2010 12:19 AM
9 comments, last by realgames 14 years, 8 months ago
Okay, now that I got it working, I was wondering how I can get the little dwarf in the example to rotate based on the the mouse position.

The source code of the example is at http://www2.cs.ucy.ac.cy/~cs06ee1/DwarfTutorial3.0.rar

What would I have to do to get where the mouse cursor is in 3d space if the "floor" model object (a flat square model that the dwarf walks around on) was the floor of the 3d space. I want it to work like in WoW or Red Alert where the people turn toward where your mouse cursor is on the terrain.

How would I do that?

This topic is closed to new replies.

Advertisement