Skip to content

Non-rigidbody Collision Detection #289

Answered by wnbittle
accmltr asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. There's a few ways to do this.

The first is to use the detect methods of the World class. These methods will accept an AABB or Convex.

The second way is to create a Body and as you add the Fixtures, set each of them to a sensor using setSensor. Then you can get collision notifications from the world listeners.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@accmltr
Comment options

Answer selected by accmltr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants