checking object location in an inclosed area of the world
Hello, is are there function that can help me check if an object is inside an area or inside another object.
illustration 1: how will I check if a wheelchair is inside the train or inside house illustration 2: how will I check if a wheelchair is inside an inclosed area in the world |
If you have the bounding box the enclosed area and the position of the wheelchair, then you can use the following code to check whether the wheelchair is inside the enclosed area:
Code:
# bb is bounding box of enclosed area |
Thanks a lot farshizzo, this is what I needed
|
All times are GMT -7. The time now is 10:49 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC