Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bolt Explosion Flow - Not Working

Discussion in 'Visual Scripting' started by kanitha, Oct 18, 2020.

  1. kanitha

    kanitha

    Joined:
    Sep 5, 2017
    Posts:
    3
    Hi All

    I am having trouble with creating a Bolt Grenade/Explosion

    I was trying do the following

    1. wait for 3 seconds
    2. instantiate explosion
    3. use overlap sphere to collect all objects that's hit and assign to a scene variable list
    4. apply force and destroy
    The problem I am having is the following

    Of the 5 objects that's in the scene

    1. Only 1 object is being destroyed but all three objects in range are pushed back
    2. the two that are not in range are also added to the list and the grenade object

    If someone can help me that would be greatly appreciated
    upload_2020-10-18_16-10-53.png
    upload_2020-10-18_16-11-8.png