The projectileHitObject event fires when a projectile collides with an object.
--- @param e projectileHitObjectEventData local function projectileHitObjectCallback(e) end event.register(tes3.event.projectileHitObject, projectileHitObjectCallback)
An event can be claimed by setting
true, or by returning
false from the callback. Claiming the event prevents any lower priority callbacks from being called.
collisionPoint(tes3vector3): Read-only. The collision point of the mobile projectile.
firingReference(tes3reference): Read-only. Reference to the actor that fired the projectile.
firingWeapon(tes3weapon): Read-only. The weapon that fired the projectile.
mobile(tes3mobileProjectile): Read-only. The mobile projectile that is expiring.
position(tes3vector3): Read-only. The position of the mobile projectile at collision.
target(tes3reference): Read-only. Reference to the object that was hit.
velocity(tes3vector3): Read-only. The velocity of the mobile projectile at collision.