[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745)

This commit is contained in:
Petr Mikheev 2022-05-13 18:22:59 +02:00
parent 91c32e65c2
commit 0643685ea5
6 changed files with 17 additions and 14 deletions

View file

@ -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.