character movement: edit: NOT to climb ramps

pra

10-09-2006 20:47:20

hi@all,
i used code similar to this thread to do character movement. It works, but whenever i run against some object, like a ninja (for testing purposes, i added a ninja with CollisionPrimitives::TreeCollision), my player ellipsoid jumps. I think this is because the ninja's feet act like a ramp or something like that, because i just stop if i run against a wall (it is perpendicular to the floor).
Even a small cylinder (0.5,1.3,0.5) is enough...
It is the same if i use forces instead of setVelocity to move...
What can I do about this?

pra

12-09-2006 20:46:12

I tried to make a ramp with a normal vector = (0, 0.1, 1) (about 84,29 degrees to the floor) and i can still walk this ramp up.
Is there a way to set an angle beyond which there is no climbing anymore, or to get the normal of the polygon i'm currently standing on to do this myself?

Night Elf

20-11-2006 16:07:51

I'm having this same problem... Any suggestions?

SuperGuy

24-03-2007 18:24:11

I was running into a similar problem with wall jumping, how do you know what you jump off of is a wall (normal not pointing upwards in this case)