Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Line of Particles


Recommended Posts

Sure, just spawn the particles along the line between the two points



if your two points are [x1,y1,z1] and [x2,y2,z3], and you want them evenly spaced at 10% intervals, then spawn at

[x1*0.9 + x2*0.1, y1*0.9 + y2 * 0.1, z1 * 0.9 + z2 * 0.1]


[x1*0.8 + x2*0.2, y1*0.8 + y2 * 0.2, z1 * 0.8 + z2 * 0.2]



This tutorial project gives a working example of how to spawn custom particles; there are a few tricks about setting the initial velocity correctly and removing random variation from the initial position.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.