drop() or remove() ?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
cyberbobjr
Posts: 64
Joined: Mon Sep 08, 2003 8:21 am
Location: Paris, France

drop() or remove() ?

Post by cyberbobjr »

Hi all,
What's the difference between drop() and remove() ?
Thanks for your help ...
bye
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

remove() removes a scene node from the scene graph or a GUI element from the GUI environment. Only call drop() if you grab()bed the pointer before, or if your created it.
Post Reply