Collision shapes

zenoahzenoah Member, PRO Posts: 56

Hiya,

I have a game where a lot of the game logic is in a space ship actor. I can add a new collision shape via the Physics Editor to the main actor no problem.

I change the image though when the ship is upgraded and would then like a new collision shape on that new ship image.

Is there a solution to this?

Thanks,
Anthony

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    It's probably a lot easier to make separate actors (with their own unique collision shapes) for each of the spaceship actors.

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Instead of using a Change Image Behavior you could use two (or more) separate actors and destroy and spawn them as needed. That way each actor can have its own unique collision shape.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Just make a duplicate of your ship in the actors paine. Click on your ship and press option key and drag in the paine and you get an exact copy. Then do what jamie says above spawn the new ship.

Sign In or Register to comment.