Stairs
Blitz3D Forums/Blitz3D Programming/Stairs
| ||
So i have searched the forums for stair climbing techniques and have tried them all, but my stairs seem to be too steep. Can someone please help me out on this? |
| ||
A common method for climbing stairs, but not the only one, is to use an invisible ramp for collision detection. Also - check your collision radius, in particular the x-scale of your spherical collision radius, try making it more of an ellipse aligned vertically. |
| ||
well, the collision ramp works with some stairs, but inside houses i have steep stairs and the player cannot walk up them. |
| ||
how about if you decrease your gravity when the player comes in contact with the stairs? |
| ||
you can do a linepick slightly in front of the players collision radius , if the pickedy() is higher than collisionY() and the difference is not above the max allowed step height.. move the player up and forward a small amount to get him "on the next step" |