![]() |
|
#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. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard problem | mizutani_jun | Vizard | 4 | 01-09-2011 03:39 PM |
winviz.exe problem | llqqff | Vizard | 2 | 07-16-2010 09:08 AM |
export problem | bazelaisr | Vizard | 2 | 05-28-2008 10:19 AM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |
sound problem | alaa | Vizard | 7 | 09-02-2005 01:13 PM |