I have a NodePath (planet) reparented to a rotating NodePath (orbit). I can lookAt(planet) from other points in the scene correctly but planet.getPos() returns the value that was set before the node was reparented. Is this the expected behaviour?
I need planet.getPos() to return the position relative to render so I can use it as a targeting position.
Is there a transformation I need to perform to achieve this?