com.jme3.bullet.control
Interface PhysicsControl
- All Superinterfaces:
- Control, Savable
- All Known Implementing Classes:
- CharacterControl, GhostControl, KinematicRagdollControl, RigidBodyControl, VehicleControl
public interface PhysicsControl
- extends Control
setPhysicsSpace
void setPhysicsSpace(PhysicsSpace space)
getPhysicsSpace
PhysicsSpace getPhysicsSpace()
setEnabled
void setEnabled(boolean state)
- The physics object is removed from the physics space when the control
is disabled. When the control is enabled again the physics object is
moved to the current location of the spatial and then added to the physics
space. This allows disabling/enabling physics to move the spatial freely.
- Parameters:
state
-