Please add originatingWeapon parameter for projectile.

wuyan

Member
Sometimes I need to call the parameters of the weapon that causes damage. It's hard to do this for shootable weapon at present.
Take arrow (arrowGameobject) as an example.

damageData.DamageOriginator.OriginatingGameObject is actually arrowGameobject.

arrowGameObject.GetComponent<Projectile>(). OriginingGameObject is still arrowGameobject. (Is it suitable to change this to weapon gameobject??)

Is it possible to add a weaponGameobject parameter when initializing the projectile?
1658778027101.png
 
Yes, that sounds reasonable. I can make the change in the next update.
Hello Justin, any new progress:)?

And congratulations! I noticed the news about UCC3. I'm looking forward to it. May I ask how long the UCC2 system will be supported? Thank you!
 
Last edited:
I haven't had a chance to look at this yet but I'll take a look for the next update.

V2 will likely be maintained until the end of the year. With the migration tool for v3 I am expecting most people will either update fairly quickly or their project is so far along that they won't be doing any more updates anyway.
 
Top