I have a body that is the main “character.” I then have multiple small bodies that it “collects” (you know, like gems or something like that for extra points). There are then many other bodies also. Now, I was wondering–Which option is better for performance:
- Put a preCollision event handler on the “character” that interacts with multiple other objects?
or - Put a preCollision event handler on the multiple “collectors’ items” that interact only with the “character”?
So basically have one body with multiple collision calls or multiple bodies with few collision calls?
Thanks! Sorry if that was confusing. [import]uid: 36022 topic_id: 13154 reply_id: 313154[/import]
[import]uid: 52491 topic_id: 13154 reply_id: 48326[/import]