collision and steps

Blitz3D Forums/Blitz3D Programming/collision and steps

luggage(Posted 2004) [#1]
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


Shambler(Posted 2004) [#2]
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.


John Blackledge(Posted 2004) [#3]
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.


Rob Farley(Posted 2004) [#4]
Alpha 0 ramp would also be my suggestion.


Sweenie(Posted 2004) [#5]
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)
.......__
....__/
.__/


Perturbatio(Posted 2004) [#6]
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.


Neochrome(Posted 2004) [#7]
entityradius

make him fatter not taller

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