WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-19-2018, 06:17 AM
mms mms is offline
Member
 
Join Date: Jul 2017
Posts: 10
Gravity and stepsize using vizcave

Hi,

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:
http://forum.worldviz.com/showthread.php?t=5338
http://www.worldviz.com/february-tec...int-collision/

Code:
ac = view_collision.AvatarCollision(collideVertical=True)
ac.setCollideList([vizconnect.AVATAR_HEAD, vizconnect.AVATAR_BASE])
ac.setTransport(vizconnect.getTransport().getNode3d())
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.
http://docs.worldviz.com/vizard/comm...z/stepsize.htm
http://docs.worldviz.com/vizard/comm...iz/gravity.htm

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,

Oliver
Reply With Quote
  #2  
Old 01-21-2018, 03:25 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,401
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.
Reply With Quote
  #3  
Old 01-22-2018, 02:50 AM
mms mms is offline
Member
 
Join Date: Jul 2017
Posts: 10
Thanks Jeff, we'll try the proximity sensor approach.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:36 PM.


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