Getting segment info from segment query

Official forum for the Chipmunk2D Physics Library.

Getting segment info from segment query

Postby Subself » Sun Jun 28, 2015 6:07 pm

I want to query against a shape (a box, but it could be any shape, theoretically) and get not just the information available in cpSegmentQueryInfo ( but also find out information on whether or not it hit another segment. That is, if I do a segment query and my segment hits a box shape, I'd like to get info on the face it hit (like the start and end point). Is there an "easy" way to do this?
Posts: 1
Joined: Sun Jun 28, 2015 6:04 pm

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest