I have a little problem with physics.
This code does not work:
[java]bulletAppState = new BulletAppState();
CapsuleCollisionShape capsuleShape = new CapsuleCollisionShape(1.5f, 6f, 1);
player = new CharacterControl(capsuleShape, 0.05f);
player.setPhysicsLocation(new Vector3f(0, 10, 0));
CollisionShape sceneShape =
landscape = new RigidBodyControl(sceneShape, 0);
I don’t know why.
Thanks for anwsers,
It does not work how?
you have an exception?
Please describe what’s going wrong or we won’t be able to help
Definitely need more information but you don’t seem to have a player entity that the character control is added to?
Thanks for anwserws,
It work now.