Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Change Orientation of a 3D Object

Author
Message
Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 21st Sep 2009 06:15
Hi, I'm trying to move a cube on a map and found several ways to do it, but I cannot change the direction it goes. I think I must change the orientation of the 3D Object but it doesn't seem to work. Actually, I can only move it forward and backward and rotate it in the direction I want it to go.

Here how I try to set the orientation of my cube:



Please, any help would be apreciated.
VB and GDK
14
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 6th Oct 2009 08:17
couldn't you move forward. then rotate, then move forward again. i dont no if it will work but it may help
Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 7th Oct 2009 07:33
No in fact, I can rotate the 3D Object but not in the axis that I want. And even if I do rotate the 3D Object, the orientation remains the same. So I can move only in 4 different directions : forward, backward, up and down. I still haven't figure how to do the rotation.
VB and GDK
14
Years of Service
User Offline
Joined: 2nd Jun 2009
Location:
Posted: 7th Oct 2009 08:40
i was able to rotate a a cube. i just went:

Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 9th Oct 2009 15:08 Edited at: 17th Oct 2009 23:12
Thank you, I will try this.

-- It works, thank you!

Login to post a reply

Server time is: 2024-03-28 10:32:09
Your offset time is: 2024-03-28 10:32:09