Particle spray direction

0 favourites
  • 3 posts
From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • I'm quite new here and have been messing with the particles, but I can't seem to change the direction they spray. I have the angle set at 270 which would suggest that should spray up and it does if I make it visible when running the layout but when I spawn the particles from another object (destruction of another sprite) it has the default angle of 0. Is there a way to set it when it spawns or prior to spawning? Am I just missing something obvious?

    Thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • After spawning the particle, you can use Set Angle on it to get the angle you want.

    You can even set an angle relative to the object spawning it by setting the angle to something like;

    Object.Angle+95

    Object being the name of the object you want to align it to, and +95 would off set the particle's angle by 95 degrees.

  • Ah, that was it. I just added a particles-SetAngle action right under the spawn-particles action. Obvious now that I see it. :) Thanks!

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