View Single Post
  #1  
Old 03-23-2011, 12:37 PM
hotshotiguana hotshotiguana is offline
Member
 
Join Date: Mar 2011
Posts: 22
Dynamic Position and Radius of Sphere

Is it possible to change the position and radius of a sphere after it is created? sphere = vizshape.addSphere(radius=r,color=c,pos=(xPos,yPos ,zPos))
sphere.dynamic()

For example, I have a slider and when I change the position of the slider I want to retrieve data based on that new slider position and change the position and radius of the above created sphere with respect to the new data.

If this is not possible, is there a way to delete the previous sphere and just create a new one each time?

Any help would be greatly appreciated.

Thanks,
Chris
Reply With Quote