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
Writting a walk-and-jump character controller from scratch?
-
- Posts: 9
- Joined: Sun Mar 10, 2013 5:03 pm
-
- Posts: 49
- Joined: Fri Feb 24, 2012 10:45 am
Re: Writting a walk-and-jump character controller from scrat
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
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