Class RaycastHit
java.lang.Object
com.csse3200.game.physics.raycast.RaycastHit
Stores information about a raycast hit.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
fixture
public com.badlogic.gdx.physics.box2d.Fixture fixtureFixture which was hit. -
point
public com.badlogic.gdx.math.Vector2 pointPoint at which the raycast hit the fixture. -
normal
public com.badlogic.gdx.math.Vector2 normalthe normal vector of the collider surface at the hit point.
-
-
Constructor Details
-
RaycastHit
public RaycastHit()
-