In some of my games, the particle acts as the bullet.
So instead of OnCollisionEnter, OnParticleCollision is the hit detection.
I want to give damage to DamageZone from Script or ORKEvent when it is hit by OnParticleCollision.
I don't know how to do it.
I found a node called [Use Damage Zone], but I don't understand what it means even after looking at the help text.
Do I run Calculate when I have a Success in [Use Damage Zone]?
I would like to know a simple way to do this, either using [Use Damage Zone] or a direct Script.
Please tell me how to damage the CustomScript in ↓.
???? I don't understand the part of ?
void OnParticleCollision(GameObject other)
//ToDo Damage to ORK
var damageZone = other.GetComponent<ORKFramework.Behaviours.DamageZone>();
if (damageZone != null)
damageZone.Damage(BaseAction???); // How to Define BaseAction