Page MenuHome

BGE API call to delete objects
Closed, ArchivedPublicPATCH

Description

This small piece of code allow Python to delete objects directly from a simple call obj.deleteObject()

It is very useful to delete objects from an unique script instead of using the actuator EndObject.

Thanks to scabootssca :)

Tested in the current SVN release and in the Blender 2.46.

Event Timeline

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Jun 27 2008, 1:38 PM