BulletEntity:Collision
BulletEntity:Collision(entity: Entity, hit: RayCastHit, giverInfo: DamageGiverInfo): bool | nil
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | |
| hit | RayCastHit | |
| giverInfo | DamageGiverInfo |
Returns
| Type | Description |
|---|---|
| bool | nil |
Example
Hooks:Install('BulletEntity:Collision', 1, function(hook, entity, hit, giverInfo)
-- Do stuff here.
end)
Last modified October 17, 2023: Update docs for 20056 (ba5f066e)