Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthormageec
    • CommentTimeJun 15th 2009 edited
     
    hello,i make a game (garden simulation) i modify the fountain 3d flint example for the water i would like that the particles bouncing on a floor or object(movie clip ect) but i dont know how to i try collide,bouncing box but i have not the result
    thanks for this amazing library
    • CommentAuthorRichard
    • CommentTimeJun 24th 2009
     
    Hi

    Currently the only collision options built in to Flint are Collide, which makes the particles bounce off each other, and BoundingBox, which makes the particles bounce off the insides of a rectangle(2D) or rectangular box(3D).

    It should be possible to get the particles bouncing off the floor with a bounding box - make the box large enough that the floor is the only boundary that particles will contact with.

    For something more complex, you may like to look at this or this. Their both experimental but should help get you started with a custom solution.