Another Bullet Question

Hello! For the BulletCharacterController, in how to move the character, where is the inputState variable?
It was: inputState.isSet(“forward”) etc.

https://docs.panda3d.org/1.10/python/reference/direct.showbase.InputStateGlobal#direct.showbase.InputStateGlobal.inputState

Thanks. Can you help me on this?

You don’t need to set the mass of the BulletCharacterControllerNode. You just need to add a Bullet collision shape to it, and set the mass inline like this:

shape1 = BulletCapsuleShape(0.1, 0.05, ZUp)
playerNode = BulletCharacterControllerNode(shape1, 0.1, 'Player')  # (shape, mass, player name)