emanisgrand / boost

0 stars 0 forks source link

🐣 REVIEW: bug->🐞 Why isn't collision detection working? #14

Closed emanisgrand closed 6 months ago

emanisgrand commented 6 months ago

Image

Used the boost project as a guide.

This can be resolved anywhere. A project can be created to test this very quickly.

emanisgrand commented 6 months ago

Image This will report 10 collisions per frame

📝️max contacts reported

The maximum number of contacts that will be recorded. Requires a value greater than 0 and contact_monitor to be set to true to start to register contacts. Use get_contact_count() to retrieve the count or get_colliding_bodies() to retrieve bodies that have been collided with.

Note: The number of contacts is different from the number of collisions. Collisions between parallel edges will result in two contacts (one at each end), and collisions between parallel faces will result in four contacts (one at each corner).