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.

Newcomers DBPro Corner / Question for the math-types

Author
Message
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 23rd Apr 2003 06:31 Edited at: 23rd Apr 2003 06:53
i need to circle my camera around an axis, pointing inwards and i dont know the trig to do it.

can someone pls help me out?

EDIT: also does anyoneknow if there is a way to find the scaled x,y,z of objects that are scaled up or down?
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 23rd Apr 2003 09:08
There a few ways of doing this, depending on which version of DB you have:

This one will work for DBPro:


The next two should work in all versions.
The first using NewXValue() and NewZValue()


...and this one shows the math version:


Hope this helps

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 23rd Apr 2003 10:29
thanks ill test it in the morning
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 24th Apr 2003 03:25
wickid works perfectly thanks guys

Login to post a reply

Server time is: 2024-09-20 06:27:11
Your offset time is: 2024-09-20 06:27:11