Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualic0de

Posted 14 September 2012 - 03:21 PM

I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks

#4ic0de

Posted 14 September 2012 - 02:13 PM

I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks


I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks

#3ic0de

Posted 14 September 2012 - 02:12 PM

I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks


I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks

#2ic0de

Posted 13 September 2012 - 08:11 PM

I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

Thanks

#1ic0de

Posted 13 September 2012 - 08:10 PM

I made a custom dynamic character controller in bullet physics. The problem is he cant climb stairs or hills. The character is based on a btMultiSphereShape and casts a ray down to find out what its standing on, if its on the ground and not walking its set to decelerate very quickly. Its moved around using setLinearVelocity. Works fine on flat surfaces. When it tries to climb stairs it just bumps into the bottom step, when it goes up a hill it moves a bit but doesn't seem to have enough energy behind it to go all the way up (needs more torque?).

Does anyone know how I can implement stair and hill climbing in bullet physics without using a kinematic character controller.

I'm sorry for not being very specific but I don't really know what I'm doing because bullet is such a badly documented api.

PARTNERS