CharacterController example with Bullet

Moderator: andrewmac

5 posts Page 1 of 1
saindd
Posts: 220
Joined: Wed Apr 15, 2015 3:20 am
by saindd » Thu Apr 28, 2016 3:43 am
Is there an example of a character controller with bullet? I mean, a simple capsule collider with a camera attached.
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Thu Apr 28, 2016 6:14 pm
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.
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Fri Apr 29, 2016 1:52 am
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.
saindd
Posts: 220
Joined: Wed Apr 15, 2015 3:20 am
by saindd » Sat Apr 30, 2016 3:13 am
Thanks! :) What about capsule colliders, are they supported?

Image
andrewmac
Posts: 295
Joined: Tue Feb 03, 2015 9:45 pm
 
by andrewmac » Sat Apr 30, 2016 3:09 pm
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.
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests