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 Professional Discussion / fix for 'set camera to object orientation' (see bug forum)

Author
Message
Toothpick
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location:
Posted: 26th Aug 2003 19:09
This has been reported in the bug forum, the camera rotates in the wrong direction after using that command.

but I have a fix for it

rotate camera camera angle x(),camera angle y(),camera angle z()
`fixes wrong camera rotation, dont know why.


add that command before you try to move the camera again and it rotates correctly.

see the attached code for fix example.

hope that helps.


APEXnow
Retired Moderator
23
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 26th Aug 2003 19:12
Oowerr! Could be that it changes the Identity Matrix to the correct one for calculation or something.

Login to post a reply

Server time is: 2026-07-23 00:17:40
Your offset time is: 2026-07-23 00:17:40