Bb3: How Can I Move Forward The Actor When It Collides With An Enemy?

Discussion in 'How Can I...?' started by antigoos, Feb 20, 2019.

  1. antigoos

    antigoos Boxer

    Joined:
    Feb 7, 2019
    Messages:
    28
    Likes Received:
    1
    I need to let the actor pass through an enemy as a bonus action in Buildbox 3, when it collides with the enemy. That is, when a specific condition is met, when the actor collides with an enemy the actor will pass through the same enemy, otherwise (when the condition is not met) when it collides with the enemy, he will be defeated.
    I thought that I could have added some units to actor position in the specific axis. I tried to do this in a custom script, so I updated the position of the actor in 'signal' function. As a result the actor appeared at the wanted position only for a while, then he appeared again in previous position.

    What is the correct way to change position of an actor? In update or in signal?
     

Share This Page