i m actually building for one of my performance a 2m long stick, with in its middle a MPU 9250 (gyro+accelerometer+compass). The idea is to activate hitest zone when pointing in a defined direction. Its relativ to my body ( up right, down left, middle front ect…).
I m receiving good data in a Yaw Roll Pitch format from the arduino library used But… i m wondering of to create hitest zone in 3d, intersecting only one end of my cylinder simulation.
On the patch here you will find a representation of the stick and its orange tip, wich should be recognized when touching one of the two 3D targets.
Thank for your help !
HITEST IN 3D.v4p (34.3 KB)