Class PlayerWithCollision

java.lang.Object
com.ardorcraft.player.PlayerBase
com.ardor3d.example.craft.player.PlayerWithCollision
Direct Known Subclasses:
PlayerWithPhysics

public class PlayerWithCollision extends PlayerBase
Player implementation with collision against the world
  • Field Details Link icon

    • oldLocation Link icon

      protected final Vector3 oldLocation
    • currentLocation Link icon

      protected final Vector3 currentLocation
    • moveDir Link icon

      protected final Vector3 moveDir
    • penetrationVec Link icon

      protected final Vector3 penetrationVec
    • normal Link icon

      protected final Vector3 normal
    • mult Link icon

      protected final Vector3 mult
    • testVec Link icon

      protected final Vector3 testVec
    • testVecs Link icon

      protected final Vector3[] testVecs
    • isOnGround Link icon

      protected boolean isOnGround
  • Constructor Details Link icon

    • PlayerWithCollision Link icon

      public PlayerWithCollision()
  • Method Details Link icon

    • isPlayerSpace Link icon

      public boolean isPlayerSpace(Pos pos)
    • update Link icon

      public void update(BlockWorld blockScene, ReadOnlyTimer timer)
    • isOnGround Link icon

      public boolean isOnGround()