Uses of Class
com.jme3.bullet.PhysicsSpace
Packages that use PhysicsSpace
Package
Description
central classes of the physics system
A dynamic animation control and some associated classes.
physics controls: scene-graph controls for linking physics collision objects
to spatials
visualize physics objects for debugging
physics collision objects, including vehicles
-
Uses of PhysicsSpace in com.jme3.bullet
Fields in com.jme3.bullet declared as PhysicsSpaceModifier and TypeFieldDescriptionprotected PhysicsSpaceBulletAppState.pSpacephysics space managed by this state, or null if no simulation runningMethods in com.jme3.bullet that return PhysicsSpaceModifier and TypeMethodDescriptionBulletAppState.getPhysicsSpace()Access the PhysicsSpace managed by this state.static PhysicsSpacePhysicsSpace.getPhysicsSpace()Get the current PhysicsSpace running on this thread
For parallel physics, this can also be called from the OpenGL thread to receive the PhysicsSpaceMethods in com.jme3.bullet with parameters of type PhysicsSpaceModifier and TypeMethodDescriptionvoidBulletAppState.physicsTick(PhysicsSpace space, float f) Callback from Bullet, invoked just after the physics is stepped.voidPhysicsTickListener.physicsTick(PhysicsSpace space, float tpf) Callback from Bullet, invoked just after the physics has been stepped.voidBulletAppState.prePhysicsTick(PhysicsSpace space, float f) Callback from Bullet, invoked just before the physics is stepped.voidPhysicsTickListener.prePhysicsTick(PhysicsSpace space, float tpf) Callback from Bullet, invoked just before the physics is stepped.static voidPhysicsSpace.setLocalThreadPhysicsSpace(PhysicsSpace space) Used internally -
Uses of PhysicsSpace in com.jme3.bullet.animation
Methods in com.jme3.bullet.animation with parameters of type PhysicsSpaceModifier and TypeMethodDescriptionprotected voidDacLinks.addPhysics(PhysicsSpace space) Add all managed physics objects to the PhysicsSpace.protected voidDynamicAnimControl.addPhysics(PhysicsSpace space) Add all managed physics objects to the PhysicsSpace.voidDacLinks.physicsTick(PhysicsSpace space, float timeStep) Callback from Bullet, invoked just after the physics has been stepped.voidDacLinks.prePhysicsTick(PhysicsSpace space, float timeStep) Callback from Bullet, invoked just before the physics is stepped.protected voidDacLinks.removePhysics(PhysicsSpace space) Remove all managed physics objects from the PhysicsSpace.protected voidDynamicAnimControl.removePhysics(PhysicsSpace space) Remove all managed physics objects from the PhysicsSpace. -
Uses of PhysicsSpace in com.jme3.bullet.control
Fields in com.jme3.bullet.control declared as PhysicsSpaceModifier and TypeFieldDescriptionprotected PhysicsSpaceAbstractPhysicsControl.spacespace to which the physics object is (or would be) addedprotected PhysicsSpaceCharacterControl.spaceprotected PhysicsSpaceGhostControl.spacespace to which the ghost object is (or would be) addedprotected PhysicsSpaceRigidBodyControl.spacespace to which the body is (or would be) addedprotected PhysicsSpaceVehicleControl.spacespace to which the vehicle is (or would be) addedMethods in com.jme3.bullet.control that return PhysicsSpaceModifier and TypeMethodDescriptionAbstractPhysicsControl.getPhysicsSpace()Access the physics space to which the object is (or would be) added.CharacterControl.getPhysicsSpace()GhostControl.getPhysicsSpace()Access the physics space to which the ghost object is (or would be) added.PhysicsControl.getPhysicsSpace()Access the physics space to which the object is (or would be) added.RigidBodyControl.getPhysicsSpace()Access the physics space to which the body is (or would be) added.VehicleControl.getPhysicsSpace()Access the physics space to which the vehicle is (or would be) added.Methods in com.jme3.bullet.control with parameters of type PhysicsSpaceModifier and TypeMethodDescriptionprotected abstract voidAbstractPhysicsControl.addPhysics(PhysicsSpace space) Add all managed physics objects to the specified space.protected voidBetterCharacterControl.addPhysics(PhysicsSpace space) Add all managed physics objects to the specified space.protected voidKinematicRagdollControl.addPhysics(PhysicsSpace space) Deprecated.voidBetterCharacterControl.physicsTick(PhysicsSpace space, float tpf) Callback from Bullet, invoked just after the physics has been stepped.voidBetterCharacterControl.prePhysicsTick(PhysicsSpace space, float tpf) Callback from Bullet, invoked just before the physics is stepped.protected abstract voidAbstractPhysicsControl.removePhysics(PhysicsSpace space) Remove all managed physics objects from the specified space.protected voidBetterCharacterControl.removePhysics(PhysicsSpace space) Remove all managed physics objects from the specified space.protected voidKinematicRagdollControl.removePhysics(PhysicsSpace space) Deprecated.voidAbstractPhysicsControl.setPhysicsSpace(PhysicsSpace newSpace) If enabled, add this control's physics object to the specified physics space.voidCharacterControl.setPhysicsSpace(PhysicsSpace newSpace) If enabled, add this control's physics object to the specified physics space.voidGhostControl.setPhysicsSpace(PhysicsSpace newSpace) If enabled, add this control's physics object to the specified physics space.voidPhysicsControl.setPhysicsSpace(PhysicsSpace space) If enabled, add this control's physics object to the specified physics space.voidRigidBodyControl.setPhysicsSpace(PhysicsSpace newSpace) If enabled, add this control's body to the specified physics space.voidVehicleControl.setPhysicsSpace(PhysicsSpace newSpace) If enabled, add this control's physics object to the specified physics space. -
Uses of PhysicsSpace in com.jme3.bullet.debug
Fields in com.jme3.bullet.debug declared as PhysicsSpaceModifier and TypeFieldDescriptionprotected final PhysicsSpaceBulletDebugAppState.spacephysics space to visualize (not null)Constructors in com.jme3.bullet.debug with parameters of type PhysicsSpaceModifierConstructorDescriptionBulletDebugAppState(PhysicsSpace space) Instantiate an app state to visualize the specified space. -
Uses of PhysicsSpace in com.jme3.bullet.objects
Fields in com.jme3.bullet.objects declared as PhysicsSpaceMethods in com.jme3.bullet.objects with parameters of type PhysicsSpaceModifier and TypeMethodDescriptionvoidPhysicsVehicle.createVehicle(PhysicsSpace space) Used internally, creates the actual vehicle constraint when vehicle is added to physics space