I would like to know how I can change the collision shape of Actor1 when the player touches Actor1. So basically I want Actor1's collision shape to change to 'rectangle' if it was already on circle or the other way around.
May be you can have 1 actor with the collision shape of a rectangle and another with a circle and when the player touches on of the actor's it transforms or switches into the other actor (with a different collision shape).
I think the only way to physically switch between actors would be to destroy and replace the rectangle one with the circle one. Probably use something like
when actor receives event touch is pressed spawn actor (actor with circle collision, whatever) destroy this actor
Comments
when actor receives event touch is pressed
change image (to whatever other actor you wanted)
Technically it's still the same actor, it just looks different.
There might be a different way to do it, but that's how I would approach it.
May be you can have 1 actor with the collision shape of a rectangle and another with a circle and when the player touches on of the actor's it transforms or switches into the other actor (with a different collision shape).
when actor receives event touch is pressed
spawn actor (actor with circle collision, whatever)
destroy this actor
I think that might work.