Flint Particle System Forum - change a collision discZone center 2011-10-16T21:36:54+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher change a collision discZone center http://flintparticles.org/forum/comments.php?DiscussionID=501&Focus=1677#Comment_1677 2011-07-22T05:36:52+01:00 2011-10-16T21:36:54+01:00 eltrem http://flintparticles.org/forum/account.php?u=520 Hi everyone! first of all congratulations for the flint system, it looks very powerful and flexible. I am a total newbee in AS3, and i've been fighting four a couple of hours with the rain ...
first of all congratulations for the flint system, it looks very powerful and flexible.

I am a total newbee in AS3, and i've been fighting four a couple of hours with the rain example, tryng to dynamically change the center of the discZone coliision area, with no luck.
I tryed changing the constant values for the center of the disc by _xmouse and _ymouse, but compiler gives 2 errors...
as i've been reading in the forum, it looks like i should include some classes to work with the mouse, isn't it?

Anyway,
my final goal is receiving the x and y data of the collision center from some other software through UDP.
I used to do that on AS1 and AS2 using FLOSC, a UDP/TCP bridge built in java that allowed to receive OpenSoundControl data.

So my question is,
Can i tell flint to use data coming from "outside" to move the center of the colission DiscZone?
How could i do that?
a little help would be very much appreciated, i am a little lost right now!

Lots of thanks!]]>
change a collision discZone center http://flintparticles.org/forum/comments.php?DiscussionID=501&Focus=1684#Comment_1684 2011-07-31T18:23:35+01:00 2011-10-16T21:36:54+01:00 Richard http://flintparticles.org/forum/account.php?u=1 You're right to set the centerX and centerY of the discZone (or set the center, which is a Point). However, int actionscript 3 the mouse location is identified as mouseX and mouseY, not _xmouse and ...