I need to flip the camera vertically.
I tried to multiply the viewProjection matrix with some vector, but with no luck.
var matrix:Matrix3D = new Matrix3D();
matrix.appendScale(1, -1, 1);
view.camera.viewProjection.append(matrix);
Any ideas?
Camera flip.Software: Away3D 4.x |
||
Zwick, Newbie
Posted: 27 February 2015 11:41 AM Total Posts: 3 I need to flip the camera vertically. I tried to multiply the viewProjection matrix with some vector, but with no luck.
var matrix:Matrix3D = new Matrix3D(); Any ideas? |
||
Pierce, Jr. Member
Posted: 28 February 2015 06:49 PM Total Posts: 40 [ # 1 ] there are methods to affect the roll, pitch, or yaw of an object that you can call. calling any of these should rotate around the local axis of the object without affecting the others. view.camera.roll(180); i think that should accomplish what you want. |
||
|
||
|