View Full Version : Gravity and stepsize using vizcave

01-19-2018, 07:17 AM

we're trying to set up a scene using vizcave, a tracking system and a treadmill in a single machine cluster.

Since viz.collision(viz.ON) doesn't work as it does on a non-tracker scene, we're using what's described here:

ac = view_collision.AvatarCollision(collideVertical=Tru e)
ac.setCollideList([vizconnect.AVATAR_HEAD, vizconnect.AVATAR_BASE])
ac.setTransport(vizconnect.getTransport().getNode3 d())

This works well for collision, but we cannot use stairs for example. The viz.stepsize doesn't work in our case, as well as the gravity.

Both seem to require viz.collision, which doesn't seem to affect the caveview/transport. Are there any equivalents in vizcave or any workarounds?

I've played around with the view_collision.AvatarCollision offset, but this vertically offsets the avatar on all surfaces, as well as horizontally offsetting when colliding with any object.

Thanks in advance,


01-21-2018, 04:25 AM
There's no built-in solution for stepping using vizconnect collision. One thing you could try is attaching a proximity sensor to each step. Based on the proximity event and the direction of the movement increase or decrease the height of the user. To increase the user's height either move the transport or a group tracker that's placed at the top of the vizconnect scenegraph.

01-22-2018, 03:50 AM
Thanks Jeff, we'll try the proximity sensor approach.