HOW TO: create smoke follow the car?
venon_it
Member, PRO Posts: 594
hi,
i create a game car, and want to insert a smoke!! now i insert a function " particles" but when the car turns, the smoke does not follow the rotation of the car...
how to solve?
thanksss
i create a game car, and want to insert a smoke!! now i insert a function " particles" but when the car turns, the smoke does not follow the rotation of the car...
how to solve?
thanksss
Comments
Constrain that angle to a particle angle game attribute
Connect the particle angle to the actor angle using the constrained attributes.
constrain your cars X and Y values to a game attribute as well as its rotation angle.
Constrain a new actor to that X and Y location containing your particle effects. Set the particle effects angle to the cars angle. Play around with the particle settings until it looks right. Set the particle "follower" actor to "NOT VISIBLE" in its graphics attributes.
Make the particle actor visible when you want it to show up via a controlSwitch attribute. Make it not visible when you don't.
If this doesn't make sense...sounds like you need to spend some time watching the tutorial movies and playing around with some of the basic principles first.