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 / 3D Math using New?Value() ??

Author
Message
Bulleyes
21
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 1st Jan 2003 10:53
Hi,

I had an object which had its local +Z axis as pointing FRONT. The object can be rotated respect to its local X, Y and Z axis, as it is an aeroplane.

How do I calculate the coordinate 40 units from the object position to where it is currently pointing, i.e. where its local +Z axis is pointing now.

I heard this can be done using NewXvalue(), NewYvalue(), and NewZvalue() command? How can I do that?

Thanks!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 2nd Jan 2003 02:17
check a 3D tutorial on the darbasic site...its a camera one i think...

xxxpetratxxx
B. R. W
Kangaroo2
21
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 3rd Jan 2003 02:12
Hi petrat, well said, I was just gonna say that! lol good to b back

* If the apocalypse comes, email me *
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Jan 2003 02:29
Hello uh...sam is it?

xxxpetratxxx
B. R. W

Login to post a reply

Server time is: 2024-05-17 10:04:29
Your offset time is: 2024-05-17 10:04:29