Walking Function
Hi guys
Are there any examples for walking to specific targets? For example: the targets are 4 boxes; the avatar should walk to reach them and then stop for 1s in front box (4 stops). I used viz.move (x, y, z, speed, target distance) But the problem is in target distance; If targets are as follows: 10, 20, 30, 40 all theses distances are measure from 0 point and move function measures this from 0 point; the avatar can do just the first target correctly. Any ideas for this? Alternatively, is there function can do this? Thanks |
this is a sample :
Code:
import viz |
speed and distance
I found the problem and it is that the avatar position times the speed; for example : if the box position is 2 and the avatar starts from 0 with speed 2 his position will be at 4 not 2 although the order like this viz.move(0,0,2,2)
Are there any thoughts? :confused: |
All times are GMT -7. The time now is 03:01 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC