I have attached actor instance to the nodepath with actor.instanceTo(nodepath). How to detach it now? I tried both detachNode and removeNode but they don’t make any effect…
The return value of instanceTo() is a NodePath to the new instance. Therefore, use:
newInst = actor.instanceTo(nodePath)
and then:
newInst.detachNode()
or
newInst.removeNode()
David