Flint Particle System Forum - bounding box: other shapes than just a box? Thu, 23 Jun 2011 13:21:06 +0100 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=743#Comment_743 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=743#Comment_743 Sun, 05 Apr 2009 20:46:23 +0100 kirbysayshi Something like:

_________
| |
| |
| T |
| |
|__ __|
| |
| |
| |
| |
| |
| |
| |
| E |



Where T is where the particles are moving towards, E is the emitter, and the inner area is a the bounding box. Right now, my shapes are being generated based on tiles, with the idea that a horde of zombies (the particles) are chasing after you in a slow, yet powerful mass, bouncing off of the walls of the environment and blockades you erect.

I tried adding in a second bounding box that overlapped the first, but flint didn't seem to like that.

I saw the way the Flint logo demo accepted a BitmapData object... it would be very cool if something like that could be done to define a bounding area based on a specific color.

Any ideas? ]]>
bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=746#Comment_746 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=746#Comment_746 Mon, 06 Apr 2009 22:20:53 +0100 kirbysayshi http://flintparticles.org/forum/comments.php?DiscussionID=142

And it sounds like we're trying to do the same thing. Is there an action that can be added to a zone that will provide "bounce" or something like that? Could you use an acceleration action, in combination with a ZonedAction to provide irregular bounding boxes? I'll try this later, after class (I'm just throwing it out there for the sake of idea). ]]>
bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=748#Comment_748 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=748#Comment_748 Mon, 06 Apr 2009 23:15:49 +0100 Richard
I was planning it for 2.1 but am rushed off my feet with work so 2.1 will probably just be the 3dgeom and flex branches, which are much closer to completion, with linesandcollisions in 2.2. ]]>
bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=749#Comment_749 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=749#Comment_749 Tue, 07 Apr 2009 05:00:36 +0100 kirbysayshi
I've been experimenting with using multiple AntiGravity actions as walls. Do you have any suggestions? I can't quite get the numbers right... the particles still slip by. My tiles are 16x16, and I'm putting the AntiGravity wells in the center of each wall tile. I'm hoping there might be a way to set up "absolute reverse gravity" at a set distance by fiddling with the numbers...

I can test for collisions with things by looping through the children of the renderer, but this doesn't seem very efficient. ]]>
bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=750#Comment_750 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=750#Comment_750 Tue, 07 Apr 2009 07:58:37 +0100 Richard bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=751#Comment_751 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=751#Comment_751 Tue, 07 Apr 2009 18:38:45 +0100 kirbysayshi
A related/unrelated question: is it possible, without making a new action, to have the particles added to a secondary array/list as they are created? ]]>
bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=753#Comment_753 http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=753#Comment_753 Thu, 09 Apr 2009 07:36:11 +0100 Richard