Class RagdollController
java.lang.Object
zombie.util.PooledObject
zombie.core.physics.RagdollController
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final float
static float
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static RagdollController
alloc()
static boolean
checkForActiveRagdoll
(IsoGridSquare square) void
float
getHeadPosition
(Vector3 arg0) int
getID()
static int
int
getPelvisPosition
(Vector3 arg0) float
float
float
float
float
boolean
boolean
boolean
isOnBack()
boolean
boolean
boolean
boolean
void
void
postUpdate
(float float0) static org.lwjgl.util.vector.Vector3f
pzSpaceToBulletSpace
(org.lwjgl.util.vector.Vector3f arg0) void
void
setActive
(boolean arg0) void
void
setHeadPosition
(Vector3 arg0) void
setOnBack
(boolean arg0) void
setPelvisPosition
(Vector3 arg0) void
setUpright
(boolean arg0) static void
setVehicleRagdollBodyDynamics
(RagdollBodyDynamics ragdollBodyDynamics) void
simulateRagdoll
(int int1, org.lwjgl.util.vector.Vector3f vector3f0, org.lwjgl.util.vector.Vector3f vector3f1, org.lwjgl.util.vector.Quaternion quaternion, float[] floats0, float[] floats1) void
update
(float var1, org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion) void
void
void
vehicleCollision
(IsoZombie zombie0, BaseVehicle vehicle) Methods inherited from class zombie.util.PooledObject
getPoolReference, isFree, release, setFree, setPool
-
Field Details
-
MovementThreshold
public static final float MovementThreshold- See Also:
-
MovementThresholdTime
public static final float MovementThresholdTime- See Also:
-
VehicleCollisionFriction
public static float VehicleCollisionFriction
-
-
Method Details
-
alloc
-
getRagdollStateData
-
isIsoPlayer
public boolean isIsoPlayer() -
isSimulationSleeping
public boolean isSimulationSleeping() -
isSimulationActive
public boolean isSimulationActive() -
getGameCharacterObject
-
setGameCharacterObject
-
getID
public int getID() -
getDebugDrawSettings
-
isInitialized
public boolean isInitialized() -
isUpright
public boolean isUpright() -
setUpright
public void setUpright(boolean arg0) -
isOnBack
public boolean isOnBack() -
setOnBack
public void setOnBack(boolean arg0) -
getHeadPosition
-
setHeadPosition
-
getPelvisPosition
-
getPelvisPositionX
public float getPelvisPositionX() -
getPelvisPositionY
public float getPelvisPositionY() -
getPelvisPositionZ
public float getPelvisPositionZ() -
setPelvisPosition
-
reinitialize
public void reinitialize() -
pzSpaceToBulletSpace
public static org.lwjgl.util.vector.Vector3f pzSpaceToBulletSpace(org.lwjgl.util.vector.Vector3f arg0) -
setActive
public void setActive(boolean arg0) -
addToWorld
public void addToWorld() -
updateRagdollSkeleton
public void updateRagdollSkeleton() -
update
public void update(float var1, org.lwjgl.util.vector.Vector3f vector3f, org.lwjgl.util.vector.Quaternion quaternion) -
postUpdate
public void postUpdate(float float0) -
debugRender
public void debugRender() -
simulateRagdoll
public void simulateRagdoll(int int1, org.lwjgl.util.vector.Vector3f vector3f0, org.lwjgl.util.vector.Vector3f vector3f1, org.lwjgl.util.vector.Quaternion quaternion, float[] floats0, float[] floats1) -
updateSimulationStateID
public void updateSimulationStateID() -
onReleased
public void onReleased() -
getNumberOfBones
public int getNumberOfBones() -
getAnimationPlayer
-
isSimulationDirectionCalculated
public boolean isSimulationDirectionCalculated() -
getCalculatedSimulationDirection
-
getCalculatedSimulationDirectionAngle
public float getCalculatedSimulationDirectionAngle() -
getSimulationRenderedAngle
public float getSimulationRenderedAngle() -
getSimulationCharacterForwardAngle
public float getSimulationCharacterForwardAngle() -
getNumberOfActiveSimulations
public static int getNumberOfActiveSimulations() -
checkForActiveRagdoll
-
vehicleCollision
-
setVehicleRagdollBodyDynamics
-