I have been trying to use SceneMan:CastObstacleRay().
Unforntuantly, I have no idea how in lua to pass a reference to a C++ function.
The console says
Code:
ERROR: no overload of 'SceneManager:CastObstacleRay' matched the arguments (SceneManager, const Vector, Vector, const Vector, const Vector, number, number, number)
candidates are:
SceneManager:CastObstacleRay(const Vector&, const Vector&, Vector&, Vector&, number, number, number)
How do I send it a Vector reference ?