edited October 2019 in ORK Support
Good morning! I've been playing through the first couple levels of my game and making some adjustments to my spells. Is there a way to destroy the casted prefab when it hits the enemy's collider? I have it being destroyed after time right now. Kinda been faking it to make it look timed correctly. Thanks!
Post edited by Sierota1701 on
  • I think you can add an event interaction on the actual prefab that destroys itself on collision.
    Miuratale : coming 2024
    Miuratale
  • @Wrofir Going to try that today. Thanks!!
  • I ticked the "Destroy on Collision" box, but no go. Hmm.
  • There is no destroy on collision in event interactions.

    If you're using damage dealers on your spell prefabs, you can use the destroy settings there, otherwise you need to set up an event interaction that starts on Collision Enter and uses an event that destroys the event object (actor).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thanks @gamingislove! The collision enter event is excellent.
Sign In or Register to comment.