Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorgrindstonemedia
- CommentTimeFeb 12th 2009 edited
I'm using:
addAction(new RotateToDirection());
But I can't seem to get the particles to follow the z-axis? when they move along 'z' they seem to simply resize but don't tilt in the right direction...
how can i implement this? -
- CommentAuthorRichard
- CommentTimeFeb 14th 2009
When using Flint's own renderers, images are displayed as billboards. i.e. as a 2D image in a plane perpendicular to the camera. Flint won't rotate images in three dimensions because that requires distorting the images in ways that are inefficient and complex (on Flash player 9). So Flint simply rotates the image to the projected direction on the 2D plane. Since the z-axis is directly towards the camera, the projected direction is a zero vector and Flint doesn't rotate the image at all.
When a later version of Flint requires Flash player 10, 3D distortions will be simple to do and will be added to the library. -
- CommentAuthorgrindstonemedia
- CommentTimeFeb 16th 2009
thanks dude, glad to hear its on its way... i'm a noob to flint but having a ton of fun learning as i go along...
1 to 3 of 3
