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 / function matrixAngleX() and matrixAngleZ()

Author
Message
Attreid
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 24th Dec 2002 13:55

function matrixAngleX(mat,x#,z#,fluid)
if fluid =
I'm following John, but I'm not john.
Lol, it is funnier in french
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 24th Dec 2002 22:15
whoops

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
QuothTheRaven
21
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 25th Dec 2002 00:23
what the hell is going on here??
Attreid
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 26th Dec 2002 11:34
sorry, I don't know why it didnt post all... I hope that it will work now :



for the two snippets, you have to give 3 informations :
1. the position X
2. the position Z
3. the smooth ( fluid in my snippet because smooth is "fluidité" in french )
and the snippet gives back theorientation of the area of the matrix at the coordinates X and Z.
what does smooth ? I try to explain well in english, but it won't be well ^^
If you use those function to set a truck to the matrix orientation, if the truck is between two tiles, you have two choices : it's orientation change suddently, or it's orientation change slowly.
if you want that it change slowly, give a high value for smooth, else give a small value.
hmm I tried to explain it better in my first post, but I'm sure that you know how work arcsinus
my snippet isn't hard to understand, but it work well ^^

P.S.: I hope that it will poste all

I'm following John, but I'm not john.
Lol, it is funnier in french
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 12th Aug 2003 22:24
could you give an example of how to use it?
sorry if i'm dragging this up but lots of people have been asking

I have a website!!!
So go there: http://www.freewebs.com/darkb/index.htm
on second thought you probably shouldn't

Login to post a reply

Server time is: 2024-04-19 10:02:53
Your offset time is: 2024-04-19 10:02:53