One Time Collision

Discussion in 'How Can I...?' started by MarcL, Jan 26, 2020.

  1. MarcL

    MarcL Boxer

    Joined:
    Nov 15, 2018
    Messages:
    17
    Likes Received:
    0
    How can I make a one time collision shape. So when the object is colliding, the collision shape is gone.
     
  2. dnmrr

    dnmrr Boxer

    Joined:
    Jan 10, 2020
    Messages:
    37
    Likes Received:
    5
    Hello! Use the Remove Node. If (the object to be remove) collides with other object (choose the affected assets), remove.

    Don't forget to work with the collision mask/ shape
    Hope that helps!
     

    Attached Files:

  3. dnmrr

    dnmrr Boxer

    Joined:
    Jan 10, 2020
    Messages:
    37
    Likes Received:
    5
    Forgot to mention. There are several ways, it's all depend what you really want to do. You can also add a brainbox health or damage.
     
  4. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    If you don't want object to disappear after collision, you can use "Set physics" node. Connect it with "If Collide" node, and set physics to "No Physics".
     
  5. pana148

    pana148 Boxer

    Joined:
    Jul 15, 2020
    Messages:
    3
    Likes Received:
    0
    Let me ask you a question related to these.
    I'm trying to put a collision detection on a ZOMBIE shaped enemy with the same FBX and the same shape.Even though it is the same 3D file, the idle pose is out of alignment with the idle pose as shown in the attached image.
    How can I combine the animation and the collision detection?
     

    Attached Files:

Share This Page