WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Zword
Forum: Vizard 01-20-2011, 09:38 AM
Replies: 4
Views: 6,871
Posted By Zword
The point is that my z coordinate is constantly...

The point is that my z coordinate is constantly reset to 0.5 but what i want is that it get the object.getPosition += 0.5



def moveWallBackward ():
global pos
object = viz.pick()
...
Forum: Vizard 01-20-2011, 08:41 AM
Replies: 4
Views: 6,871
Posted By Zword
tried that doesn't work Traceback (most...

tried that doesn't work


Traceback (most recent call last):
File "<string>", line 11, in ?
File "Test wall.py", line 106
for cod in wall_1.getPosition()
...
Forum: Vizard 01-20-2011, 08:21 AM
Replies: 4
Views: 9,121
Posted By Zword
Tnx it worked. Tnx for your time

Tnx it worked. Tnx for your time
Forum: Vizard 01-20-2011, 08:15 AM
Replies: 4
Views: 6,871
Posted By Zword
array select 1 value

question


for cod in wall_1.getPosition()
print cod


This will print the x y z coordinates. Now all i want is the z coordinate value. How?
Forum: Vizard 01-16-2011, 04:43 AM
Replies: 4
Views: 9,121
Posted By Zword
That is not working. This is the error I get: ...

That is not working. This is the error I get:

Traceback (most recent call last):
File "C:\Program Files (x86)\WorldViz\Vizard30/python\vizact.py", line 3019, in __onkeydown
...
Forum: Vizard 01-13-2011, 04:51 AM
Replies: 4
Views: 9,121
Posted By Zword
moving object forward backward

When the mouse is pointed at the object I want to move it depending on wich key i press. A normal int number works but example +=0.5 does not work.

Code:


cube = vizshape.addCube()

def...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -7. The time now is 04:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC