alining mesh to wall

Blitz3D Forums/Blitz3D Programming/alining mesh to wall

hi,
i have a model which when you collide with a ladder type and press a key you can climb up. it works fine except you can be at a right angle to the wall and climb normally. is there a simple way of turning the mesh to be flat on the wall?

also i would like to make it so you can only climb when the whole of the mesh is on a ladder and not just half of it.

thanx
KingPod

aligntovector and collision normal commands should do the trick, don't have time to post full solution just now.