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?
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?