Newly created actor shoots up in the air when created.

vodkaman6661

  • Posts: 121
Hi

I have a behaviour that kills an actor once you have clicked on them and when that actor is killed it creates another actor in it place.
The same type of behaviour is place on the newly created actor so when you click on actor it returns to the first actor.

This works fine then the actors are located on the tile set , you player is able to easily switch between the two actors. The problem happens when the actor is placed on top of the player or another actor and the player tries to switch them. The newly created actor shoots up into the air and this happens each time that you try to switch it.

I think that i may be an issue with collisions.

Both the switching actors have the same collision shape and are set some that they cant collide with each other. Maybe its to do with the collisions between the switching actors and the player?

Thank you for any idea or help :)

Video link

https://www.youtube.com/watch?v=n_getdRGDDo&feature=youtu.be

« Last Edit: June 23, 2014, 07:28:20 am by vodkaman6661 »

LIBERADO

  • *
  • Posts: 2720
Perhaps it would be better to switch between frames or animations of the same actor, not between different actors.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.