Better to have rul in 1 actor, or create multiple actors?

pixel_knightspixel_knights Member Posts: 50
edited November -1 in Working with GS (Mac)
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

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    I would say it's better to have one actor and don't forget you can use the tag to tie them all up under one.

    Darren.

    image
Sign In or Register to comment.