Skip to main content
Tweeted twitter.com/StackGameDev/status/894932346251743233
added 28 characters in body; edited title
Source Link

How to detect a body between two points on LibGDX

enter image description here

I've two Vector2 (A and B), i draw a line between them.

Is there a way to check if the line intersect the Box2D CircleShape? I need to a boolean output

How to detect a body between two points

enter image description here

I've two Vector2 (A and B), i draw a line between them.

Is there a way to check if the line intersect the Box2D CircleShape?

How to detect a body between two points on LibGDX

enter image description here

I've two Vector2 (A and B), i draw a line between them.

Is there a way to check if the line intersect the Box2D CircleShape? I need to a boolean output

Source Link

How to detect a body between two points

enter image description here

I've two Vector2 (A and B), i draw a line between them.

Is there a way to check if the line intersect the Box2D CircleShape?