Walking up stairs

Blitz3D Forums/Blitz3D Beginners Area/Walking up stairs

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

First you move the entity up when it walks. Then you move it forwards. Then you move it down. You must call UpdateWorld() after moving it up. Example:
If Keydown(208)
MoveEntity Person,0,10,0
UpdateWorld()
MoveEntity Person,0,0,10
UpdateWorld()
MoveEntity Person,0,-10,0
endif