Better to have rul in 1 actor, or create multiple actors?
Hi there,
I was wondering, is it better to create a single actor with multiple rules for collision with different actor types, or should I create a seperate actor which checks against collision against a specific type?
i.e should i create an actor called "boom" with a rule in for collisions with type player and type player 2 etc.
or should it be an actor type "boomplayer1" "boomplayer2" with boomplayer1 handling just player1 behaviours and boomplayer2 handling just player2 behaviours?
I'm purely interested in performance here, not what's best to maintain etc.
Thanks
I was wondering, is it better to create a single actor with multiple rules for collision with different actor types, or should I create a seperate actor which checks against collision against a specific type?
i.e should i create an actor called "boom" with a rule in for collisions with type player and type player 2 etc.
or should it be an actor type "boomplayer1" "boomplayer2" with boomplayer1 handling just player1 behaviours and boomplayer2 handling just player2 behaviours?
I'm purely interested in performance here, not what's best to maintain etc.
Thanks
Comments
Darren.