Daerst
16-05-2008 20:22:52
Hi there,
I've been playing around with OgreBullet for some hours trying to get a basic character movement. I orientated myself by the OgreODE walking character tutorial, but I had problems keeping the sphere at the bottom from rolling. A search in the forums told me that (Ogre)Bullet doesn't support friction on spheres - is that correct? Setting the linear velocity to Vector3::ZERO didn't help either.
Next I tried to just take a cube and move it with setLinearVelocity, but it slingers on the surface. Is stoppable though
My next approach would be taking a look at the WheeledRigidBody that was used in the VehicleDemo. Is there a possibility to fully stop the body when the key is released? I don't want my character to slide all the way over the map
What would be the best way to realise such a character movement? I'd need movement (also diagonal so for example forward-right and forward-left), sidestrafing, sliding along walls, jumping... All this stuff. I would appreciate any hint about what basic approach to use
Thank you
Daerst
I've been playing around with OgreBullet for some hours trying to get a basic character movement. I orientated myself by the OgreODE walking character tutorial, but I had problems keeping the sphere at the bottom from rolling. A search in the forums told me that (Ogre)Bullet doesn't support friction on spheres - is that correct? Setting the linear velocity to Vector3::ZERO didn't help either.
Next I tried to just take a cube and move it with setLinearVelocity, but it slingers on the surface. Is stoppable though
My next approach would be taking a look at the WheeledRigidBody that was used in the VehicleDemo. Is there a possibility to fully stop the body when the key is released? I don't want my character to slide all the way over the map
What would be the best way to realise such a character movement? I'd need movement (also diagonal so for example forward-right and forward-left), sidestrafing, sliding along walls, jumping... All this stuff. I would appreciate any hint about what basic approach to use
Thank you
Daerst