Stairs and collision

Blitz3D Forums/Blitz3D Beginners Area/Stairs and collision

Tyler(Posted 2003) [#1]
I'm trying to set up an invisible ramp under my stairs that handles the collision, i'm using the 3rd option for collision but my man is still sliding down the ramp as I try to progress, stopping altogether even. I have basic gravity (Y=Y+yvel where y_vel changes from jumping and falling) Any ideas as to what I might be doing to undermine my own progress? Thanks guys!

Oh, and I'm using .x models.


Sunteam Software(Posted 2003) [#2]
Try detecting collision with your ramp and not applying gravity when it's true.


Rook Zimbabwe(Posted 2004) [#3]
But I still can't make the camera go up a ramp... Is is a pivot thing?


eBusiness(Posted 2004) [#4]
Tyler, try typing 3 as response parameter when you define collisions, that will probably solve it.

Rook, souds like a bug where the code need to be posted.


Rook Zimbabwe(Posted 2004) [#5]
I was having a ramp problem in my .X model... Things I noticed:
1. Make sure UV is locked in the model.
2. Set up collision type for the model as 2 (I think)
3. Make sure your collision checking is set at 1,2,2,2 or if you want 1,2,2,3 (personally I like 1,2,2,2 cause you slide!)
4. Don't use terrainY. That only reads the surface.
5. when you set the sphere around your player or camera use the optional extension to set the Y height.

At the least I hope that doesn't confuse the issue.

: )