Elevators - Best method?
#2

Well the x and y of the elevator are constants because they never should change if it's simply going up and down. The way I did it was just use a variable to store the elevator's current floor and when it changes, use switch case to see what z the next floor will be on.
Reply


Messages In This Thread
Elevators - Best method? - by Killer#Mummy - 19.07.2011, 21:37
Re: Elevators - Best method? - by Backwardsman97 - 19.07.2011, 21:50
Re: Elevators - Best method? - by Killer#Mummy - 19.07.2011, 21:53
Re: Elevators - Best method? - by Backwardsman97 - 19.07.2011, 21:55
Re: Elevators - Best method? - by Killer#Mummy - 19.07.2011, 22:13
AW: Elevators - Best method? - by Nero_3D - 19.07.2011, 22:22
Re: Elevators - Best method? - by Killer#Mummy - 19.07.2011, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)