Engine Blast Trail

specialist_3specialist_3 Member Posts: 121
edited November -1 in Working with GS (Mac)
Hi,

I am trying to animate a blast trail for a spacejet using the particle system. 2 situations:

1) When jet is not moving, particles are spawned at its tail and destroyed after 2 seconds (size and colour changes).
2) When jet is moving, the particles trail behind the jet in whichever direction its moving.

Currently, the "blast" particles are set to -25 vertically and 0 horizontally which makes the particles spawn at its tail. When the jet is moving up and down, the particles are spawned at its tail. The problem comes when the jet is rotated/moved diagonally or opposite directions. Because the emission offset is fixed, the emission is always at the bottom centre of the sprite (jet image). When the jet is moving downwards, it appears as though the particles are emitted from its nose or wings (depending on which direction its facing).

Can someone help me with this problem? Perhaps, this needs some formulas to be entered into the expression.

Comments

  • reddotincreddotinc Member Posts: 653
    you could fix this by constraining an x and y attribute for where you want the trail to spawn, and then have these figures updated depending on the movement of the plane.

    Then you can use theses attributes for the offset.
  • specialist_3specialist_3 Member Posts: 121
    swift - I found a post @ http://gamesalad.com/forums/topic.php?id=371. someone had the same query as me. It was quite informative however, i am still unable to fix the problem. the trail seems fine so long as the jet is travelling upwards. Once it rotates, the point of origin of emission moves to different area (wing, nose, sides etc).
Sign In or Register to comment.