Entity:ShouldCollideWith
Entity:ShouldCollideWith(entity: Entity, shouldCollideWith: Entity): bool
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | |
| shouldCollideWith | Entity |
Returns
| Type | Description |
|---|---|
| bool |
Example
Hooks:Install('Entity:ShouldCollideWith', 1, function(hook, entity, shouldCollideWith)
-- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)