Collision Shape Does Not Follow The Main Object

Discussion in 'How Can I...?' started by Usirbosan, Apr 21, 2020.

  1. Usirbosan

    Usirbosan Boxer

    Joined:
    Apr 18, 2020
    Messages:
    5
    Likes Received:
    1
    Hi,..

    I am creating a 2D game using Buildbox v3.

    The problem is when I animate the enemy to move, the collision shape does not move, it simply does not follow the main object. Hence, when the main character passes through the place where the enemy was, it hits the collision shape and dies.

    How can I make the collision shape stick to and follow the main object (which in this case is an enemy).

    Please point me to the right direction.

    Thanks
     
  2. KFBB

    KFBB Boxer

    Joined:
    May 2, 2019
    Messages:
    1
    Likes Received:
    0
    Hi,

    I am having the same problem as you on my game, where when I make the enemy rotate randomly the collision shape stays in the same spot and you die without hitting the enemy but just the collision shape.

    I was wondering if you found the solution to this problem and if you can please give me a hand.

    T hanks
     

Share This Page