![]() |
Show Physics Shapes
I have many different objects in my augmented reality environment with different collide shapes. Is there a way to make the physics shapes visible or transparent? It would make debugging a lot easier if I could see the shapes somehow.
Thanks! - bloswald :) |
Take a look at the collideBox and collideSphere examples in the following page:
http://www.worldviz.com/vizhelp/Shapes.htm They show ways to do this for certain objects which are centered at 0,0,0. |
Quote:
- bloswald :) |
You would have to adjust the position of the box or sphere used to visualize the collision area.
In the following example the avatar origin is at the bottom of his feet so the box does appear to be in the correct position. Hit the spacebar to adjust the position of the box. Code:
import viz |
All times are GMT -7. The time now is 11:18 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC