Connect on the fly shapes
I would like to build complex shapes out of cubes and then make them behave as one solid body. The add command does not work for vizshapes:
AttributeError: 'VizPrimitive' object has no attribute 'split' Is there another way to get the same result for vizshapes as in the carousel example? Greetings, Albert import vizshape viz.go() viz.move(0,0,-10) cube1 = vizshape.addCube() cube2 = vizshape.addCube() cube1.add(cube2) spinForever = vizact.spin(0,1,0, 90, viz.FOREVER) cube1.addAction(spinForever) |
You can set up parent/child relationships between vizshape objects:
Code:
import viz Code:
import viz |
All times are GMT -7. The time now is 01:30 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC