Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorgaffkins
- CommentTimeOct 1st 2010 edited
Hi,
I have a problem with DisplayObjectZone and CollisionZone, particles bounce off the center of the emitter and jump over and over again. I have no idea how to solve.
"zz" in source is MC on the stage.
Please help.
example: http://gaffkins.pl/flint/
source: http://gaffkins.pl/flint/Main.as
Click the mouse to emit -
- CommentAuthorRichard
- CommentTimeOct 2nd 2010
As stated in the docs, the direction of the collision with the DisplayObjectZone is not accurate. Only the fact that a collision occurs is accurate. Since the DisplayObject may be of any shape, calculating collision directions is not simple and has not been implemented. Instead, particles that collide with a DisplayObjectZone simply bounce back in the direction they came from. I would like to improve this later, but in the meantime if you want accurate collision directions you should use a combination of the shape based zones like LineZone, RectangleZone and DiscZone. Either combine them as a MultiZone or apply them individually as multiple CollisionZone actions.
1 to 2 of 2
