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 / true useble directions from an object, like compass, pitch from gruond, ect..

Author
Message
Yyrd
20
Years of Service
User Offline
Joined: 29th Mar 2004
Location: Under some bridge
Posted: 28th May 2004 06:11 Edited at: 28th May 2004 19:13
ok i work months on this.
and i think this code will be very helpful to many poeple.
least till wofe make the newer version of his ezrotate.
this requires no plug'ins

what is does is it give the compass direction of an object
and the pitch angle of the object compared to gruond(global)
and the roll angle of the object compare to gruond(gloabal)




with this you can make a compass. know how much climb a car is driven up a hill. if a tank is leaning on a hill and is about to roll over. hud data for a airplane. endless options, i hope this is usefull

ok specal thanks to Spooky,Lost in Thought ,Andy Igoe, and zircher
they are the ones that cracked the idea how this is done.
oh maybe froogle i think he did something, just can't remember..
Yyrd
20
Years of Service
User Offline
Joined: 29th Mar 2004
Location: Under some bridge
Posted: 29th May 2004 10:24
somebody reply. usefull or not?
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 29th May 2004 18:24 Edited at: 29th May 2004 18:25
uummmm i don't know if this technique was used but it seems like you could just point the "north" side of the "compass" at a point in 3D space...

[edit] oh...wait...i don't think that would work


Formerly known as "DarkWing Duck"
Yyrd
20
Years of Service
User Offline
Joined: 29th Mar 2004
Location: Under some bridge
Posted: 29th May 2004 20:24
what if the compass was not lvl with gruond?

Login to post a reply

Server time is: 2024-11-23 21:39:30
Your offset time is: 2024-11-23 21:39:30