Package repast.simphony.space.physics
Interface PhysicsSpace<T>
- Type Parameters:
T
-
- All Superinterfaces:
Projection<T>
- All Known Implementing Classes:
ContextPhysics
,DefaultPhysicsSpace
- Author:
- Eric Tatara
-
Method Summary
Modifier and TypeMethodDescriptionboolean
float[]
float[]
getLinearVelocity
(T Object) int
float
com.bulletphysics.linearmath.Transform
getTransformForObject
(T object) void
setGravity
(float x, float y, float z) void
setLinearVelocity
(T object, float x, float y, float z) void
setMaxSubSteps
(int maxSubSteps) void
setStepSize
(float stepSize) void
step()
Manually step the physics space dynamicsMethods inherited from interface repast.simphony.space.projection.Projection
addProjectionListener, evaluate, getName, getProjectionListeners, removeProjectionListener
-
Method Details
-
step
void step()Manually step the physics space dynamics- Parameters:
timeStep
-
-
getTransformForObject
-
addObject
-
setGravity
void setGravity(float x, float y, float z) -
getGravity
float[] getGravity() -
getStepSize
float getStepSize() -
setStepSize
void setStepSize(float stepSize) -
getMaxSubSteps
int getMaxSubSteps() -
setMaxSubSteps
void setMaxSubSteps(int maxSubSteps) -
setLinearVelocity
-
getLinearVelocity
-