Hello everybody,

first let me thank the authors for their great engine!

I´m currently working on the visual representation of sensor data.
SO what I have is a object (a puppet etAccelerometer that outputs
three values, one for each X, Y and Z axis.
these values are roughly in the range [900,2900], so if the object is
not tilted in any direction
the output for each value would be around 1900 or every axis.

Now I would like to map these values to a cone in a way that the top
of the cone points to the direction
of the object.

Say if I place my object on a flat table with the object pointing to
the left
i want my cone to be aligned horizontally and pointing to the left, if
i put it on it´s back uprigt i want the cone
to point to the top.

Since my 3d math is rather weak  I´d love if any one of you could help
me out here.

Thanks,

André

Reply via email to