Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a particle emitter's direction to follow a parts velocity?

Asked by 5 years ago

So if I wanted to make a particle emitter's direction to follow a parts velocity, how do I do it, I did this, but it didn't work:

local p = script.Parent
local emitter = script.Parent.ParticleEmitter

emitter.EmissionDirection = p.Velocity.X --or Y or Z

2 answers

Log in to vote
1
Answered by
Farsalis 369 Moderation Voter
5 years ago

Possible, but not that way. Remember Emission Direction is "Top", "Bottom" or the such. Not a Number.

Ad
Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
5 years ago

ParticleEmitter is possible to do ways of direction. But you need to use 'top' 'bottom' 'left' 'right' 'back' and 'front'. You cannot use numbers.

Answer this question