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 / Which axis is which?

Author
Message
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 18th Jan 2005 07:56
I am trying to make a game, but I don't know which axis goes up/down, which one goes forward/backward, and which one goes left/right. Could anyone help?

www.war3forums.net
Cookyzue
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Who Cares?!
Posted: 18th Jan 2005 11:39
y is up and down, x is side to side and z is forward backward.


Current Project: Goonder Mania
MCK Games
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 18th Jan 2005 13:11
thanks

www.war3forums.net
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 19th Jan 2005 12:31
[Also, I am making a game and am trying to posistion an object with the back edge of it at the back edge of a game board. When I do the 'z' position as 5.0, half of it is off of the side. But when I do it as 4.5, it is way down near the middle of the board.



Any help would be appreciated.

www.war3forums.net
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 22nd Jan 2005 05:14
Can anyone please help me?

www.war3forums.net
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 23rd Jan 2005 09:39 Edited at: 23rd Jan 2005 09:39
sry, not sure what u mean, if u mean that half of the object is in the gameboard/underground, then u probably did the measurement wrong. If u havent noticed, when u position an object, it is positioned from the center so if u want an object against something that is at 0,5,5 (x,y,z) then u would position the object at 0,2.5,2.5(x,y,z). If thats not what u meant sry, try explaining it again

Video games…they can take you places unreachable, impossible, unfeasible. They put you in the book...they put you in the movie...they put you in a world, a world that before could only be imagined.
Don Malone
21
Years of Service
User Offline
Joined: 27th Apr 2003
Location: Birmingham, Alabama
Posted: 23rd Jan 2005 10:26
I just had a duh moment and thought about it and XYZ is like reading a book, isn't it?

X = reading a line from left to right
Y = Reading down the page
and
Z = reading the next page, getting deeper into the book.

Forgive me. I don't think I am sane........ Yes I am..........No I'm not........??????





Just for the record that was meant to be a (weak) joke.

Wasting CPU Cycles since the 286 was a hot machine.
Opus
19
Years of Service
User Offline
Joined: 10th Jan 2005
Location:
Posted: 23rd Jan 2005 10:34
That's not a bad way to look at it, but I prefer to consider the sharp corner of a box. You have a line going down from the point, "Y", a line going out sideways from the point, "X", and a line moving back from the point, "Z". How's that?
fasdfsdaf
19
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 24th Jan 2005 12:12
@Gil: Okay, I did it as it should be at 4.75 and it is WAY off:



This is a screenshot of what it looks like starting at 5:



so could someone please tell me what I'm doing wrong?

www.war3forums.net

Login to post a reply

Server time is: 2024-11-27 21:29:58
Your offset time is: 2024-11-27 21:29:58