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.

Code Snippets / 3D Camera rotating around object

Author
Message
ToyImp
21
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 12th Jan 2003 02:20
Can someone tell me how to get a camera to rotate around an Object on all 3 axes? The code I have doesn't quite do what I need it to do. Because it doesn't rotate or anything around the object.

-------------
My avatar looks like he's constipated.
'Here I sit, broken hearted. Wanting to poop. But only farted'
Gu re gu
21
Years of Service
User Offline
Joined: 14th Dec 2002
Location: United Kingdom
Posted: 17th Jan 2003 14:44
Sometimes i use this (in the loop)



Daih Thel phae 'e, clann 'e phaen
The Darthster
21
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 17th Jan 2003 23:44
This might be like what you're looking for.

ciro
20
Years of Service
User Offline
Joined: 27th Apr 2003
Location:
Posted: 28th Apr 2003 00:10
Hi! I'm new at DB and certenly at 3D math!...I've came accross this very interesting post and I found the little snippit posted by TheDarthster very usefull to my purpose too!...the only problem I'm having is the view suddenly reversing while the camera rot reaches xRot#=90 or -90.
Is there any chances to fix that?...Much appriciated

Login to post a reply

Server time is: 2024-04-23 16:03:00
Your offset time is: 2024-04-23 16:03:00