![]() |
|
|
|
#1
|
|||
|
|||
|
You can use the <node3D>.setPosition command to set the ball at ground level:
Code:
import viz
import vizact
viz.go()
ground = viz.addChild('tut_ground.wrl')
ball = viz.addChild('ball.wrl')
ball.setPosition([-2,0.5,7])
move = vizact.moveTo([2,0.5,7],speed=1)
vizact.onkeydown('1', ball.addAction, move)
|
|
#2
|
|||
|
|||
|
Thanks Jeff.
In fact the ground is not a flat surface. The level changes according to different positions. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vizard problem | mizutani_jun | Vizard | 4 | 01-09-2011 04:39 PM |
| winviz.exe problem | llqqff | Vizard | 2 | 07-16-2010 10:08 AM |
| export problem | bazelaisr | Vizard | 2 | 05-28-2008 11:19 AM |
| problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 11:36 AM |
| sound problem | alaa | Vizard | 7 | 09-02-2005 02:13 PM |