Class RaycastHit
java.lang.Object
com.deco2800.game.physics.raycast.RaycastHit
Stores information about a raycast hit.
-
Field Summary
Fields -
Constructor Summary
Constructors -
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()
-