Forum: Vizard
02-19-2009, 12:36 AM
|
Replies: 8
Views: 15,890
|
Forum: Vizard
02-19-2009, 12:32 AM
|
Replies: 4
Views: 9,923
|
Forum: Vizard
02-19-2009, 12:26 AM
|
Replies: 2
Views: 10,345
|
Forum: Vizard
02-18-2009, 03:51 AM
|
Replies: 5
Views: 10,073
|
Forum: Vizard
02-18-2009, 03:49 AM
|
Replies: 2
Views: 10,345
For Loop in Callbacks?
Hi,
I'm assuming you can't have for loops (or any loops?) inside timer callback functions? I'm getting an invalid syntax error when attempting this. If this is the case, I take it it's due to the...
|
Forum: Vizard
02-18-2009, 02:36 AM
|
Replies: 4
Views: 9,923
|
Forum: Vizard
02-18-2009, 02:16 AM
|
Replies: 4
Views: 9,923
|
Forum: Vizard
02-18-2009, 01:39 AM
|
Replies: 1
Views: 7,404
Probably using a for loop.
I've never...
Probably using a for loop.
I've never used sensors before, but i'd imagine it will be a callback function that assigns the id of which block the sensor is over.
Then maybe a timer function...
|
Forum: Vizard
02-17-2009, 05:33 AM
|
Replies: 8
Views: 15,890
Maybe something along the lines of:
...
Maybe something along the lines of:
diffInZ = 3.0 # Value to add/subtract to Z position of selected ball
def onMouseWheel(dir):
global ball # Same ball object selected from previous...
|
Forum: Vizard
02-17-2009, 05:12 AM
|
Replies: 12
Views: 12,836
|
Forum: Vizard
02-17-2009, 04:58 AM
|
Replies: 12
Views: 12,836
Like i've said in the above post, simulate a...
Like i've said in the above post, simulate a collision based on events i.e your conditions could be:
IF armMoving == True AND distanceBetweenArmAndBalloon < strikeDistance
balloonCollision =...
|
Forum: Vizard
02-17-2009, 03:26 AM
|
Replies: 12
Views: 12,836
|
Forum: Vizard
02-17-2009, 02:48 AM
|
Replies: 12
Views: 12,836
|
Forum: Vizard
02-17-2009, 01:53 AM
|
Replies: 12
Views: 12,836
Do you have the avatar walking around? If so...
Do you have the avatar walking around? If so you'll need a keyboard callback function to control the speed, something like:
# Load avatar
myAvatar = viz.add('avatar.cfg')
# Speed of avatar...
|
Forum: Vizard
02-17-2009, 12:46 AM
|
Replies: 12
Views: 12,836
|
Forum: Vizard
02-13-2009, 12:16 AM
|
Replies: 3
Views: 9,493
|
Forum: Vizard
02-12-2009, 11:48 PM
|
Replies: 3
Views: 9,493
|
Forum: Vizard
02-11-2009, 01:08 AM
|
Replies: 1
Views: 6,946
I suggest you start at the Tutorials section...
I suggest you start at the Tutorials section which can be found in Vizard Help->Tutorials. The tutorials cover a lot of topics including adding objects and picking them via mouse cursor. The...
|
Forum: Vizard
02-11-2009, 12:24 AM
|
Replies: 4
Views: 7,241
|
Forum: Vizard
02-09-2009, 01:17 AM
|
Replies: 4
Views: 7,241
|
Forum: Vizard
02-09-2009, 12:53 AM
|
Replies: 2
Views: 12,692
|
Forum: Vizard
02-06-2009, 09:53 AM
|
Replies: 2
Views: 12,692
|
Forum: Vizard
02-03-2009, 03:21 AM
|
Replies: 4
Views: 7,241
Inheritance ambiguities
Hi,
I've derived from the "FlyNavigate" class to implement my own camera class.
I'm basically trying to split the "FlyNavigate::sensitivity" function up so that I can set move and turn speeds...
|
Forum: Vizard
01-29-2009, 12:58 AM
|
Replies: 2
Views: 13,440
|
Forum: Vizard
01-28-2009, 05:52 AM
|
Replies: 2
Views: 13,440
Problems loading WRL file
Hi,
I've usually had no problems exporting a scene from max to VRML format before and loading it in Vizard, but this time when attempting to load this one file I get the following error:
...
|