03-07-2020, 10:26 AM
(03-07-2020, 10:24 AM)josemendez Wrote: Each frame the engine makes all contact information available to you directly. This is as efficient as it gets, as you're given direct access to the same information used by the engine to resolve collisions. Filtering it to suit your needs is completely up to you, you can of course keep a counter per actor and count the amount of contacts for each one if you wish.
How should i filter out the contacts ? Like which contact belongs to each actor ? How can i keep a contact counter for each actor. Could you please give me some hints.
Thanks