3D cursor with FlockOfBirds
Good Morning,
I am developing a 3D virtual environment in which I tracker my hands with flock of birds devices. Now, with the Vanda I would like to implement a 3D cursor. I visualize my 3D cursor as a sphere and I would like to understand if there is a way to fast determine in my sphere intersects an object in the scene. If there is an intersection I pick the object up and move, otherwise nothing happens. Thank you so much. Giancarlo:) |
1 Attachment(s)
Here is a sample script that does what you want. It uses physics shapes to check if models are colliding. If they are, it sets up a "grab" link between the models.
Code:
import viz |
great
Thank you so much it works fine!.
|
All times are GMT -7. The time now is 06:44 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC