public class SweptSphereHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
float |
collisionVeryCloseDistance |
float |
onGroundTolerance |
com.badlogic.gdx.math.Vector3 |
possibleCollisionAreaMaxOffset |
com.badlogic.gdx.math.Vector3 |
possibleCollisionAreaMinOffset |
| Constructor and Description |
|---|
SweptSphereHandler(SweptSphereWorldCollisionChecker collisionChecker,
int maxRecursionDepth) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleBasicMovementCollision(SweptSphere sphere,
com.badlogic.gdx.math.Vector3 velocity,
com.badlogic.gdx.math.Vector3 outVelocity) |
void |
handleMovement(SweptSphere sphere,
com.badlogic.gdx.math.Vector3 velocity,
com.badlogic.gdx.math.Vector3 outVelocity,
boolean canSlide,
boolean onlySlideIfTooSteep,
float tooSteepAngleY) |
void |
handleMovement(SweptSphere sphere,
com.badlogic.gdx.math.Vector3 sphereVelocity,
com.badlogic.gdx.math.Vector3 gravityVelocity,
com.badlogic.gdx.math.Vector3 outVelocity,
boolean canSlide,
boolean onlySlideIfTooSteep,
float tooSteepAngleY) |
public float collisionVeryCloseDistance
public float onGroundTolerance
public final com.badlogic.gdx.math.Vector3 possibleCollisionAreaMinOffset
public final com.badlogic.gdx.math.Vector3 possibleCollisionAreaMaxOffset
public SweptSphereHandler(SweptSphereWorldCollisionChecker collisionChecker, int maxRecursionDepth)
public void handleMovement(SweptSphere sphere, com.badlogic.gdx.math.Vector3 sphereVelocity, com.badlogic.gdx.math.Vector3 gravityVelocity, com.badlogic.gdx.math.Vector3 outVelocity, boolean canSlide, boolean onlySlideIfTooSteep, float tooSteepAngleY)
public void handleMovement(SweptSphere sphere, com.badlogic.gdx.math.Vector3 velocity, com.badlogic.gdx.math.Vector3 outVelocity, boolean canSlide, boolean onlySlideIfTooSteep, float tooSteepAngleY)
public void handleBasicMovementCollision(SweptSphere sphere, com.badlogic.gdx.math.Vector3 velocity, com.badlogic.gdx.math.Vector3 outVelocity)
Copyright © 2022. All rights reserved.