Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: bfd on September 16, 2014, 04:18:44 AM
-
I'd like to be able to control a LineRenderer component from within an FSM.
http://docs.unity3d.com/ScriptReference/LineRenderer.html
Unless I'm mistaken the 'Set Property' actions don't really work on this component because simple things like 'localposition' have multiple values (for each vertex)
I'm only using lines with 2 vertexes, but I'd say it would be useful to include all 4 functions for this component: SetColors, SetPosition, SetVertexCount, SetWidth
-
*bump*
I really need this to achieve part of the project I'm working on. I'm trying to co-ordinate with a friend who knows cs, but if anyone can help me out in the meantime it would really be great.
I've double checked the set property action only allows access to the top half of the linerenderer properties - not the positions and parameters which is what I really need to access.
-
Did you try the Draw Line action
http://hutonggames.com/playmakerforum/index.php?topic=3943.0
-
Well now I feel silly! No idea why that didn't show up in my search, but it's perfect - thanks so much!
-
This is the exact reason I came to the forum for the first time just now! Very happy.