Hello all, I'm a 4th year computer engineering student and have some
experience with Android dev.

I am working on an application that has a 3D component to it which
requires me to be able to rotate it around. I was looking at the
example at the android resources site.

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchRotateActivity.html

This example does not talk about rotation around the z-axis. I have
already tried using Quaternion for the rotations but I don't
understand how to get rotations around the z-axis

I was wondering if anyone can help me with learning how to just be
able to rotate around an object. like the example above but also
around the z-axis. I have already spend about 24 hours searching and
trying to figure this out.

The bigger issue is that once you rotate 90 degrees around the y-axis
how can you detect that the next rotation (going vertically on the
touchscreen) should be around the z-axis.

Thank you in advance.
Mac

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to