Jump to content

[SOLVED] Method engine.world.getIntersection mismatch doc


photo

Recommended Posts

Hello,

I think there is a small error in the documentation :

One of overloaded methods engine.world.getIntersection is Object engine.world.getIntersection(vec3 p0, vec3 p1, int mask, int[] exclude, Variable value). The exclude list seems to have been updated to a Node list.

Thank you.

Link to comment

Hello,

it's not a mistake as vectors in UnigineScript are capable of containing different types (see more here). So the method correctly processes a vector of nodes to be excluded.

As for C++ and C#, the method requires corresponding arguments.

If you need some extra samples, just let us know.

Thank you!

Link to comment
  • morbid changed the title to [SOLVED] Method engine.world.getIntersection mismatch doc
×
×
  • Create New...