Flint Particle System Forum - Collision with moving objects2013-09-02T00:30:11+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Collision with moving objectshttp://flintparticles.org/forum/comments.php?DiscussionID=570&Focus=1941#Comment_19412012-06-08T13:28:54+01:002013-09-02T00:30:11+01:00noicreChttp://flintparticles.org/forum/account.php?u=620
I am trying to have collision with moving objects, but as soon as I move one of my objects(using drag and drop for testing), the particles simply fall through the object, as long as it's ...
These are the lines of code I use for the collision:
emitter.addAction( new CollisionZone( new DisplayObjectZone(circleMC, renderer), 0.3) ); emitter.addAction( new Accelerate( 0, changePspeed ) ); emitter.addAction( new SpeedLimit( changePspeed ) );
I've tried a lot, but I just couldn't get it to work; no matter what, the particles keep falling through the object as long as you're dragging it around. If anyone has a solution, please!]]>
Collision with moving objectshttp://flintparticles.org/forum/comments.php?DiscussionID=570&Focus=1969#Comment_19692012-10-29T07:44:42+00:002012-10-29T07:44:50+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
The collision code in the CollisionZone copes with the situation where the particles move but doesn't cope with the situation where the zone moves. It will need improving to handle that situation.