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.

DarkBASIC Discussion / Why does object angles X and Z change?

Author
Message
Relativity
20
Years of Service
User Offline
Joined: 29th Mar 2005
Location: Position is relative.
Posted: 7th May 2005 12:11
Okay, here's the main problem: I have my program so when I hold the left mouse button the camera has a free look mode thingy. When I let go everything is fine until I try to turn my object left or right (the camera is based on object 1's movement and orientation) and then the X Camera Angle resets to zero. Does anybody know what my problem is? Here's the program:


Thanks for your help.

"It's against my programming to impersonate a deity!"~C-3P0
Relativity
20
Years of Service
User Offline
Joined: 29th Mar 2005
Location: Position is relative.
Posted: 8th May 2005 00:03
Sorry about the two posts. There was problems posting the other day. Please see the post above this.

"It's against my programming to impersonate a deity!"~C-3P0
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 10th May 2005 10:03
SithSpawn,

Your problem must lye within a clash between the camera's free rotation and its Euler rotation commandings. Try sticking to one type.


+NanoBrain+
Relativity
20
Years of Service
User Offline
Joined: 29th Mar 2005
Location: Position is relative.
Posted: 10th May 2005 10:32
Thanks a lot! It worked perfectly.

"It's against my programming to impersonate a deity!"~C-3P0
Relativity
20
Years of Service
User Offline
Joined: 29th Mar 2005
Location: Position is relative.
Posted: 17th May 2005 09:52
Can someone please help me! I can\'t figure out the system used in DBC to put textures on matrices. I don\'t know what all the commands/input data for the commands mean.

"It's against my programming to impersonate a deity!"~C-3P0

Login to post a reply

Server time is: 2025-05-23 02:11:18
Your offset time is: 2025-05-23 02:11:18