mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
block.raycast/entity.raycast: Updated docs to reflect changes
This commit is contained in:
parent
1be50c2e06
commit
a48d54aa27
4 changed files with 14 additions and 4 deletions
|
|
@ -51,7 +51,7 @@ entities.get_all_in_radius(center: vec3, radius: number) -> array<int>
|
|||
|
||||
```lua
|
||||
entities.raycast(start: vec3, dir: vec3, max_distance: number,
|
||||
ignore: int, [optional] destination: table) -> table or nil
|
||||
ignore: int, [optional] destination: table, [optional] filter: table) -> table or nil
|
||||
```
|
||||
|
||||
The function is an extended version of [block.raycast](libblock.md#raycast). Returns a table with the results if the ray touches a block or entity.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue