Right now I'm running off of the standard Sparky's:
collide = sc_SphereSlideGroup(1,oldx#,oldy#,oldz#,x#,y#,z#,30,0)
if collide>0
x# = sc_getCollisionSlideX()
y# = sc_getCollisionSlideY()
z# = sc_getCollisionSlideZ()
But I HATE it! If the floor is not 100% flat the object slides, if I want to have my character climb stairs it's SLOW and under the same variables he will fly off the top of the stairs. Is there a way to find JUST the straight up Y collision?
I want my system to do is this:
if collide>0
if CollisionNormalY (Face slope of collision) > 0.5
if Straight_Up_Y is possible and will not jump farther than 3 units (new position is possible without jumping too far)
y# = straight_up_Y
endif
else
go ahead and use sliding collision
endif
endif
if Collision
Three cookies and a hug to anyone you can at lease point me in the right direction.
Ventures of the worlds around us are only limited by imagination.