Skip to content

What's the difference between move.direction and move.angle? #2416

Closed Locked Answered by matteobruni
htopia asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @htopia,

angle sets the spread angle of the movement for the randomization. If you have particles going down like in the sample, a smaller angle spread them less then a wider one.

direction is the direction of the particles, which can be a defined angle (numeric) or a general direction (top, left, etc.).

The particles movement has two other properties: random and straight. The first one multiplies the movement speed with a random factor, the second one interact with angle, adding to the direction angle a random value between angle min and angle max.

I'll explain straight better, it's a bit complicated:

  • Set to true, the particle will follow the exact direction set in the config, for ex…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@htopia
Comment options

@matteobruni
Comment options

@htopia
Comment options

Answer selected by htopia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants