Open topic with navigation
<node3d>.remove
Permanently remove the object from the scene
<node3d>.remove( |
|
children = True |
) |
|
children = True
This option specifies whether to delete all the child nodes of the object also.
Remarks
This will permanently remove an object from the scene. All references to the object afterwards will be ignored.
- All links involving the node will be removed
- All 3d sounds attached to the node will be removed
- If physics is enabled on the node, it will be removed from the physics simulation.
Return Value
None
Example
ball = viz.add('ball.wrl')
.
.
.
ball.remove()