|
|
@ -47,9 +47,10 @@ import com.jme3.scene.control.Control; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* |
|
|
|
* @deprecated in favor of <code>BetterCharacterControl</code> |
|
|
|
* @author normenhansen |
|
|
|
* @author normenhansen |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@Deprecated |
|
|
|
public class CharacterControl extends PhysicsCharacter implements PhysicsControl { |
|
|
|
public class CharacterControl extends PhysicsCharacter implements PhysicsControl { |
|
|
|
|
|
|
|
|
|
|
|
protected Spatial spatial; |
|
|
|
protected Spatial spatial; |
|
|
@ -100,8 +101,6 @@ public class CharacterControl extends PhysicsCharacter implements PhysicsControl |
|
|
|
control.setPhysicsLocation(getPhysicsLocation()); |
|
|
|
control.setPhysicsLocation(getPhysicsLocation()); |
|
|
|
control.setUpAxis(getUpAxis()); |
|
|
|
control.setUpAxis(getUpAxis()); |
|
|
|
control.setApplyPhysicsLocal(isApplyPhysicsLocal()); |
|
|
|
control.setApplyPhysicsLocal(isApplyPhysicsLocal()); |
|
|
|
|
|
|
|
|
|
|
|
control.setSpatial(spatial); |
|
|
|
|
|
|
|
return control; |
|
|
|
return control; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|