View Single Post
Old 02-25-2016, 04:40 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,466
There's no need to download the view collision module I attached in my previous post. The latest view collision module is now included with the Vizard installation. If you have a vizconnect file with an avatar and transport then you can run the following code:

import viz
import vizconnect
from vizconnect.util import view_collision

maze = viz.addChild('maze.osgb')

ac = view_collision.AvatarCollision()
Your vizconnect file must have an avatar to use this collision module. If you don't want to render an avatar then choose the head and hands option and delete the glove.cfg file listed under right hand filename.
Reply With Quote