| Poster | : Dharshi | | Posts | : 4 | | Country | : India | | City | : Tuticorin |
| | | | Posted by Dharshi on 13/02/2008 at 01:05:22
| |
Hi,
How to do rotation on MouseMove event? That is i need to rotate my rendered 3D object from left to right if i drag my mouse from left to rigth. Like that for all directions i.e from right to left, from top to bottom and bottom to top, I need to do the rotation according to the mouse drag event. Please help on identifying this.
Thank You,
Dharshi | |
|
|
| |
| |
| Poster | : Tophurious | | Posts | : 43 | | Country | : US | | City | : Golden |
| | | | Posted by Tophurious on 13/02/2008 at 22:20:38
| | | if you browse through the tutorials on the right(XNA Using C#->Series 4: Advanced Terrain->Mouse Camera) | |
|
|
| |
| |
| Poster | : Dharshi | | Posts | : 4 | | Country | : India | | City | : Tuticorin |
| | | | Posted by Dharshi on 14/02/2008 at 00:17:05
| | please show directx samples or tutorials. As a newbie, i couldn't able to understand XNA and cannot convert it into Directx
Thank You | |
|
|
| |
| |
| Poster | : Tophurious | | Posts | : 43 | | Country | : US | | City | : Golden |
| | | | Posted by Tophurious on 14/02/2008 at 19:33:42
| | Well really XNA is easier than standard directx...
But all you need to do is use the directinput and monitor the mouse position, when it moves, change the rotation | |
|
|