WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-20-2005, 10:52 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
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).
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC