Page 1 of 1

Writting a walk-and-jump character controller from scratch?

Posted: Fri May 10, 2013 5:18 am
by ConvexHull
Hello guys,
I need to write a simple character controller from scratch (without any physics engine). How should I start and which method use?
I've tried using a sphere and pushing it outside triangles but this way my character is able to climb on walls (even 90 * ones).
Any other ideas how to implement it?
Thanks in advance

Re: Writting a walk-and-jump character controller from scrat

Posted: Fri May 10, 2013 5:57 am
by mikeshafer
Try this: http://www.peroxide.dk/papers/collision/collision.pdf

It's basically a triangle/sphere collision like you've been doing except you do a matrix multiply before-hand to make the problem simpler (colliding with a unit sphere).

HTH,
Mike