0
Answered

Particles when hitting anything

Yair Ciriaco 2 months ago in Melee updated by Marti (Lead Developer) 2 months ago 1

I want to spawn particles when the player attack hits anything, like a wall or any game object, but the particles in the effects section arent don't work like this (or not for me) also I tried putting a collider inside my weapon prefab and it works but works all the time jaja, I just that when attacking, is there any way to do it? thanks!!

Unity version:
2019.3.9
Game Creator version:
1.1.8
Answered

Simply add a "On Receive Attack" Trigger and it should work. Remember that walls should have a collider in order to receive attacks.