WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   avatar collision (https://forum.worldviz.com/showthread.php?t=1978)

5ky1ine 04-22-2009 02:29 AM

avatar collision
 
i have a avatar in my environment which is controlled using the keyboard, at the moment the avatar dont have collision and walks through the objects. is there any way of enabling collision to the avatar so it dosent walk through objects in the scene?

any suggestions please..

Gladsomebeast 04-22-2009 11:23 AM

You could move the avatar with the help of Vizard's physics system.

The code in the following article moves a viewpoint via keyboard and keeps the view from moving through walls.
> http://vizworkshop.com/articles/walkthrough_app.html

You'll want to modify the UserAvatar.py file to move your avatar and use your keyboard commands.

Check the Vizard help for background on the physics system.


All times are GMT -7. The time now is 12:40 PM.

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