Esempio n. 1
0
        internal CharacterController(Jitter.World world, RigidBody body)
            : base(body)
        {
            RigidBody.SetMassProperties(JMatrix.Zero, 1.0f, true);
            RigidBody.AllowDeactivation = false;

            Controller = new Character.CharacterControllerConstraint(world, RigidBody);
            world.AddConstraint(Controller);
        }