diff --git a/samples/character/res/common/sample.physics b/samples/character/res/common/sample.physics index a9bce4cf0b..ec5e278d8b 100644 --- a/samples/character/res/common/sample.physics +++ b/samples/character/res/common/sample.physics @@ -2,7 +2,7 @@ collisionObject basketball { type = RIGID_BODY shape = SPHERE - mass = 1.0 + mass = 0.6 friction = 0.5 restitution = 1.0 linearDamping = 0.1 @@ -13,7 +13,7 @@ collisionObject chair { type = RIGID_BODY shape = BOX - mass = 5.0 + mass = 42.0 friction = 1.0 restitution = 0.0 linearDamping = 0.9 @@ -24,7 +24,7 @@ collisionObject table { type = RIGID_BODY shape = BOX - mass = 0.0 + mass = 100.0 friction = 0.5 restitution = 0.75 linearDamping = 0.1 @@ -61,7 +61,7 @@ collisionObject boy height = 6.0 center = 0, 3.0, 0 centerAbsolute = true - mass = 20.0 + mass = 40.0 maxStepHeight = 0 maxSlopeAngle = 0 } diff --git a/samples/character/src/CharacterGame.cpp b/samples/character/src/CharacterGame.cpp index 999c2a70bb..ca92c4a3bc 100644 --- a/samples/character/src/CharacterGame.cpp +++ b/samples/character/src/CharacterGame.cpp @@ -4,17 +4,17 @@ CharacterGame game; // Input flags -#define NORTH 1 -#define SOUTH 2 -#define EAST 4 +#define NORTH 2 +#define SOUTH 4 +#define EAST 6 #define WEST 8 -#define RUNNING 16 +#define RUNNING 12 // Character defines -#define WALK_SPEED 5.0f -#define STRAFE_SPEED 1.5f -#define RUN_SPEED 15.0f -#define CAMERA_FOCUS_DISTANCE 16.0f +#define WALK_SPEED 6.0f +#define STRAFE_SPEED 2.0f +#define RUN_SPEED 20.0f +#define CAMERA_FOCUS_DISTANCE 19.0f #define BUTTON_1 0 #define BUTTON_2 1