collision and steps

Blitz3D Forums/Blitz3D Programming/collision and steps

Hello

I've got a map that my player can run around. At the moment though he gets stuck on small steps - what's the best way around this?

thanks

scott

I would either

1) Place an invisible quad over the steps to act as a ramp

or

2) Do a linepick down and adjust the camera's height to keep it a constant distance from the ground.

Or do a texture detect (somewhere in the archives) and move the player up by 0.5 when collided with certain textures. That way you can also make the player climb ladders, ropes etc.

Alpha 0 ramp would also be my suggestion.

Maybe a combination of standard steps and a ramp?
That way you would get the bobbing movement up the stairs.
(Ignore the dots in the "picture" below)
.......__
....__/
.__/

I'm sure someone posted a method using two pivots in the character, one near the bottom and one near the top;
If the bottom one collided but not the top one, move the character up.

I think it might have been sswift.

entityradius

make him fatter not taller

entitytradius Player, 6, 4 ; <-- may be too fat, adjust