mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Raycast: export exact pointing location (#6304)
* Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
This commit is contained in:
committed by
SmallJoker
parent
798724efea
commit
325bf68041
@@ -150,7 +150,7 @@ int LuaRaycast::l_next(lua_State *L)
|
||||
if (pointed.type == POINTEDTHING_NOTHING)
|
||||
lua_pushnil(L);
|
||||
else
|
||||
script->pushPointedThing(pointed);
|
||||
script->pushPointedThing(pointed, true);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user