Flint Particle System Forum - a Zone based on a Path 2016-06-02T13:08:29+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher a Zone based on a Path http://flintparticles.org/forum/comments.php?DiscussionID=606&Focus=2076#Comment_2076 2013-09-18T13:46:49+01:00 2016-06-02T13:08:29+01:00 chadp http://flintparticles.org/forum/account.php?u=697 I was hoping someone has already written their own PathZone or PathZone3D. If not, it should probably be a new feature. Using something like a polyline or bezier curve and then applying a radius to ...
If I want to attempt this on my own, I believe all I need to do is implement the Zone3D interface, which only has 3 methods:
contains(p:Vector3D):Boolean
getLocation():Vector3D
getVolumn():Number

Does anybody have any suggestions for implementing the polyline/curves? Are there any popular libraries that you recommend to build off of?

I think I could hack in polylines by myself, but by the time I got to curves I think my simple little class will have gotten quite messy.]]>