mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-10 04:26:50 +03:00
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745)
This commit is contained in:
parent
91c32e65c2
commit
0643685ea5
6 changed files with 17 additions and 14 deletions
|
@ -74,7 +74,7 @@
|
|||
---
|
||||
-- Cast ray from one point to another and find the first visual intersection with anything in the scene.
|
||||
-- As opposite to `castRay` can find an intersection with an object without collisions.
|
||||
-- In order to avoid threading issues can be used only in player scripts only in `onInputUpdate` or
|
||||
-- In order to avoid threading issues can be used only in player scripts only in `onFrame` or
|
||||
-- in engine handlers for user input. In other cases use `asyncCastRenderingRay` instead.
|
||||
-- @function [parent=#nearby] castRenderingRay
|
||||
-- @param openmw.util#Vector3 from Start point of the ray.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue