Hi!
I've written a routine for a player to walk up and down in a stair.
The model for this is not an external model, it's several objects placed next to each other making to illusion of a solid staircase.
Each object represents one step and is made up using the command
'make object box'
Using this method makes me able to calculate the height of each step which is crucial for my routine to work.
But what if I'd load a 3D model that is a staircase in it's entirety?
Mayby I can access the vertexdata somehow to split this thing up into several objects allowing me to read the height of each step?
What I'd need to do is reading the structure/polygons of the object to make the player object follow it ( just like the functionality of the commands for following the contour of a terrain)
Anyone that knows the best way of doing this? Thoughts? Ideas?
Best!
www.memblockgames.com