Jump to content

Is the notice for engine.world.getNodeByName() correct?


photo

Recommended Posts

The documentation in SDK 2.18.1 for the World::getNodeByName() function includes a notice indicating that nodes having a possessor are filtered. Is this true? My understanding is that this means you could locate a reference node by name, but any nodes it references would be unlocatable. In practice, it seems that the function does find the contents of reference nodes, so either my understanding or the notice is wrong. Hopefully it's my understanding. :D

It's worth noting that the method returning multiple nodes (getNodesByName) does not include the same notice, even though I would've expected the same behaviour.

Here's a link to the documentation in question: engine.world Functions - Documentation - Unigine Developer

Link to comment

Hi Simon,

Looks like there is currently a bug with getNodeByName() and it's actually returns contents of the reference nodes even if unpack nodereferences is not enabled.

We will try to fix this in the upcoming 2.19 release.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...