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 / rotate the camera around an object?

Author
Message
mido
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 25th Feb 2006 23:44
How to rotate the camera around an object and not around itself?

If you hear a voise within you say "You can't program" then program and that voise will be silenced.
M25
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th Feb 2006 23:54
The sliding collision Example has it. You'll have to rip it out of there.




Milkman
19
Years of Service
User Offline
Joined: 30th Nov 2005
Location: United States
Posted: 26th Feb 2006 01:21
here's some old code of mine

x#,y#, and z# are the coords of the point to be rotated around.
camdist# is the distance from the point

formerly xMik
mido
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 27th Feb 2006 23:39
thanks for the help

If you hear a voise within you say "You can't program" then program and that voise will be silenced.
M25

Login to post a reply

Server time is: 2025-05-23 09:18:15
Your offset time is: 2025-05-23 09:18:15