Flint Particle System Forum - bounding box: other shapes than just a box? 2011-06-23T13:21:10+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=743#Comment_743 2009-04-05T20:46:23+01:00 2009-04-05T20:55:18+01:00 kirbysayshi http://flintparticles.org/forum/account.php?u=130 Is it possible to create an irregularly-shaped bounding box? Something like: _________ | | | | | T | | | |__ __| | | | | | | | ... 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 2009-04-06T22:20:53+01:00 2009-04-06T22:22:50+01:00 kirbysayshi http://flintparticles.org/forum/account.php?u=130 I read this thread: 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 ... 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 2009-04-06T23:15:49+01:00 2011-06-23T13:21:10+01:00 Richard http://flintparticles.org/forum/account.php?u=1 There's a branch in svn called linesandcollisions in which I've started implementing this. I'm aiming to complete this for release later - probably version 2.2. I was planning it for 2.1 but am ...
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 2009-04-07T05:00:36+01:00 2011-06-23T13:21:10+01:00 kirbysayshi http://flintparticles.org/forum/account.php?u=130 Ok cool. I eagerly await the release! 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 ...
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 2009-04-07T07:58:37+01:00 2011-06-23T13:21:10+01:00 Richard http://flintparticles.org/forum/account.php?u=1 My best suggestion would be to look at what I've done so far in the linesandcollisions branch and take it from there. bounding box: other shapes than just a box? http://flintparticles.org/forum/comments.php?DiscussionID=194&Focus=751#Comment_751 2009-04-07T18:38:45+01:00 2011-06-23T13:21:10+01:00 kirbysayshi http://flintparticles.org/forum/account.php?u=130 Ok, will do. 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?
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 2009-04-09T07:36:11+01:00 2011-06-23T13:21:10+01:00 Richard http://flintparticles.org/forum/account.php?u=1 No, but it's an initializer that you need, not an action.