Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: shack on January 14, 2019, 03:48:14 PM
-
Hey, So I was using the trail renderer to create tire marks when a car drifts in my game. However, I do not know how to control it within playmaker. Is there a way to do so?I only want the trail to begin (or be visible) during certain parameters (car is drifting/not facing forward)
-
Hi,
you simply instantiate the trails when you want them to show up, that would be enough isn't it?
Bye,
Jean
-
But how? There is no trail Action. How can i tie the trail emission to a key press? Do I have to use the particle system or can i use the trail renderer?
-
Hi,
using a trail, I would experiment with the following:
- set the time of the trail to 0 when you don't want it, and set it to the time you need when you want to show it, bring it back to 0 to remove it.
else, you'll need to use particles and try the trail module: https://docs.unity3d.com/Manual/PartSysTrailsModule.html
Bye,
Jean