Object.remove()
As in the beginning (see posting in old collision thread from 01-31-2005 05:19 PM) I'm again having problems with
object.remove()
In my reset function I want to remove all the balls.
for objects in ballBasket:
objects.i=endI*slowDown
objects.remove()
for ball0503 in ballBasket:
print ball0503
del ball0503
for ball0503 in ballBasket:
print ball0503
The last print still gives me:
<__main__.Ball instance at 0x00FD7DA0>
<__main__.Ball instance at 0x00FD7E68>
<__main__.Ball instance at 0x00FD7DA0>
<__main__.Ball instance at 0x00FD7E68>
The balls do not appear in the scene but they still seem to be there...
Johannes
P.S. Does someone have the Open Scene Graph plugin for 3D Studio 6 (I know that there exists one for 3DS 5 but not 6).
|