How do I make my particle interact with a solid/physics object?

0 favourites
  • 3 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • My goal here is to make a fountain. I made a particle that shoots water, with effects and all that, its perfect. But my particle is bouncing off nothing. I wanted to make it fall on a pit and stay there for some time until it disappears, but it doesnt make contact with solids, im kinda lost.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • As far as I know, unfortunately, you will have to make your own particles;

    -make a sprite 'drop', give it a "bullet" behaviour and "solid".

    then:

    - use "for" loop to create 50 objects 'water drop'

    - set angle of motion to something like "random(240, 300)"

    - set parameters such as "speed of motion = random(500,1000)", "gravity = ..." etc, to make it look the way you want.

    - On collision between "drop" and "ground" do some other actions, such as "disable bullet begaviour", change animation, etc...

  • You can't.

    Think of a particle emitter as a canvas that's drawing particles, those are not actual objects, with all the overhead objects have, including collision detection.

    You can only check collision on the Bbox of the particle object.

    To get more control over the particles you would need to make your own emitter with a sprite object.

    It will have more overhead cost for processing, but it's the only way.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)