Page 1 of 1

CharacterController example with Bullet

Posted: Thu Apr 28, 2016 3:43 am
by saindd
Is there an example of a character controller with bullet? I mean, a simple capsule collider with a camera attached.

Re: CharacterController example with Bullet

Posted: Thu Apr 28, 2016 6:14 pm
by andrewmac
I actually have a small game demo I put together that uses the character controller. Later tonight I'll upload it to github. The character controller I wrote is still a little buggy but it should be good enough for now until I get time to make it better.

Re: CharacterController example with Bullet

Posted: Fri Apr 29, 2016 1:52 am
by andrewmac
I've replaced the existing examples with a single small game example, Roll The Ball. It uses the character controller and physics enabled cubes/spheres. It's not complete, the character controller needs work and I'd like to make multiple levels of various difficulty, but it's a step towards being able to make games.

Re: CharacterController example with Bullet

Posted: Sat Apr 30, 2016 3:13 am
by saindd
Thanks! :) What about capsule colliders, are they supported?

Image

Re: CharacterController example with Bullet

Posted: Sat Apr 30, 2016 3:09 pm
by andrewmac
The character controller is exactly what you're showing in that screenshot. Behind the scenes its a capsule collider that floats a bit so it can move over bumps and up slopes and such.