WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Avatar passing through room walls (https://forum.worldviz.com/showthread.php?t=2835)

Mike@vrs 07-18-2010 12:21 AM

Avatar passing through room walls
 
New to vizard, my avatar is passing through objects and the walls of the room. Using collision code, how do I prevent the avatar passing through when a walking instruction is given. Thanx.

Jeff 07-21-2010 04:07 PM

You can check the distance between the avatar and other objects using the vizmat.Distance function. If the avatar is close to an object then you can end the walk action on the avatar and add a new one.


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

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