WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Gladsomebeast
Forum: Vizard 09-14-2006, 06:01 PM
Replies: 12
Views: 19,227
Posted By Gladsomebeast
<VizNode>.getChildren() only returns VizNodes,...

<VizNode>.getChildren() only returns VizNodes, not nodes that are in the model but have not had getChild() called on them. Reverse the order you call the two functions and you will see something.
Forum: Vizard 09-13-2006, 02:26 PM
Replies: 12
Views: 19,227
Posted By Gladsomebeast
The key difference between the code is that I do...

The key difference between the code is that I do mall.collideMesh() instead of calling collideMesh() on children of the mall.

I had your problem with applying collideMesh() to children even when...
Forum: Vizard 09-13-2006, 01:32 PM
Replies: 12
Views: 19,227
Posted By Gladsomebeast
I have experimented with your script and model. ...

I have experimented with your script and model. There seems to be invisible physics shapes in your model.

Instead of calling collideMesh on the child objects I just called it on the root "mall"...
Forum: Vizard 09-13-2006, 09:14 AM
Replies: 12
Views: 19,227
Posted By Gladsomebeast
Of course, the visual geometry should be the...

Of course, the visual geometry should be the collide mesh. You can visualize the bounding boxes around the avatars with this code:

import viz
import vizact

viz.go()...
Forum: Vizard 09-12-2006, 10:31 AM
Replies: 12
Views: 19,227
Posted By Gladsomebeast
Here is how I got some collision events with an...

Here is how I got some collision events with an avatar. Perhaps you are missing one of the steps. (Forgot male.enable( viz.COLLIDE_NOTIFY ) perhaps?)

import viz

viz.go()...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -7. The time now is 06:59 PM.


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