How to create circle like collision area
Hi,
I need to create collision area like circle. And I need to get notified when object is inside and when is outside of that area. Any suggestions? |
You can add a function that's called every frame that checks the distance between the object and the center of the circle. Depending on the distance value you'll know whether the object is inside or outside of the circle:
Code:
import viz |
Hi, Jeff...
Thanks for reply... It solved my problem. |
All times are GMT -7. The time now is 09:00 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC