Hi,
I'm newbie here and learning UCC. I have configured third person controller with assault rifle & sniper rifle with help of your tutorial videos.
now, I need help with collision detection while firing. (I prefered hitscan instead of actual firing of bullet objects)
Can you explain how to use all events in my project? what is correct way to use these events?(general flow for use of UCC events)
for example I want to check, on which object I'm firing with assault rifle??
I found event 'OnHitscanImpactEvent' under ShootableWeapon.cs script
but I'm not sure how to use it correctly. where should I put my custom logic? (I want to detect whether I hit to ground/enemy head/enemy body etc..)
Another confusion with OnHitscanImpactEvent() & OnImpact(). What's the difference between them?
I found OnHitscanImpactEvent() inside ShootableWeapon.cs but didn't find it inside documentation. In documentation, I found OnImpact() and not OnHitscanImpactEvent().
Thanks
I'm newbie here and learning UCC. I have configured third person controller with assault rifle & sniper rifle with help of your tutorial videos.
now, I need help with collision detection while firing. (I prefered hitscan instead of actual firing of bullet objects)
Can you explain how to use all events in my project? what is correct way to use these events?(general flow for use of UCC events)
for example I want to check, on which object I'm firing with assault rifle??
I found event 'OnHitscanImpactEvent' under ShootableWeapon.cs script
but I'm not sure how to use it correctly. where should I put my custom logic? (I want to detect whether I hit to ground/enemy head/enemy body etc..)
Another confusion with OnHitscanImpactEvent() & OnImpact(). What's the difference between them?
I found OnHitscanImpactEvent() inside ShootableWeapon.cs but didn't find it inside documentation. In documentation, I found OnImpact() and not OnHitscanImpactEvent().
Thanks