Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use 3D Transformations (Rotation)

Hey,

 

I don't understand the example in the API documentation about how to use 3D transformation.

 

In my example I'm trying to rotate a circle around the x-axis in a 3D-fashion. The basic idea is that it should resemble a spinning coin. 

 

I think I understood 2D transformation quite well up until now, just don't understand, how to achieve this using 3D transformation. I would be very grateful, if maybe somebody can support me with a short snippet of code, or an example using 3D transformation.

Best Answer
3 REPLIES 3

The same stuff, want to make coin flip 3D animation, but can't get from the documentation how 3d transformation work.

Best Answer
0 Votes

Is there a specific API doc that mentions 3D transforms that you are referring to? As far as I can tell, the Fitbit SDK only supports 2D transforms, so you would have to transform your circle into an ellipse to give the illusion of a spinning circle. 

Best Answer
0 Votes

The animations guide mentions 3D Transformation, including rotation.

 

https://dev.fitbit.com/build/guides/user-interface/animations/

 

 

Best Answer
0 Votes