Class RaycastHit
java.lang.Object
com.csse3200.game.physics.raycast.RaycastHit
Stores information about a raycast hit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.physics.box2d.Fixture
com.badlogic.gdx.math.Vector2
com.badlogic.gdx.math.Vector2
getPoint()
void
setFixture
(com.badlogic.gdx.physics.box2d.Fixture fixture) void
setNormal
(com.badlogic.gdx.math.Vector2 normal) void
setPoint
(com.badlogic.gdx.math.Vector2 point)
-
Constructor Details
-
RaycastHit
public RaycastHit()
-
-
Method Details
-
getFixture
public com.badlogic.gdx.physics.box2d.Fixture getFixture() -
getPoint
public com.badlogic.gdx.math.Vector2 getPoint() -
getNormal
public com.badlogic.gdx.math.Vector2 getNormal() -
setFixture
public void setFixture(com.badlogic.gdx.physics.box2d.Fixture fixture) -
setPoint
public void setPoint(com.badlogic.gdx.math.Vector2 point) -
setNormal
public void setNormal(com.badlogic.gdx.math.Vector2 normal)
-