self.collNode = CollisionNode(“CollNodex”)
self.collN = render.attachNewNode(self.collNode)
so now can i use collNode & collN interchangeably?
Because they both point to the same node.
Or is one a pointer and the other a handle?
self.collNode = CollisionNode(“CollNodex”)
self.collN = render.attachNewNode(self.collNode)
so now can i use collNode & collN interchangeably?
Because they both point to the same node.
Or is one a pointer and the other a handle?
collN will basically be a NodePath, a thin handle pointing to the lower-level collNode.
Basically, collNode == collN.node() and NodePath(collNode) is functionally equivalent to collN.