- Home /
drawing path on the polygon surface and insert objects along that path
Hi, I would like to write the Editor features which will do drawing Spline along the selected polygon and put some of the objects made in Prefab along that SPline.. I am very new to Editor Features and can someone guide me to the right direction?
Answer by Jordii · Oct 30, 2010 at 03:53 PM
Debug.DrawLine allows you to draw a line along certain edges, not a full answer to your question, but hopefully a push in the right direction: http://unity3d.com/support/documentation/ScriptReference/Debug.DrawLine.html
Hi.. I know How to draw line from point to point.. The Thing I would like to know is to get the normal position of the click polygon for the given mesh. How can I check whether the mesh polygon has been clicked or not in the editor. I've seen some ppl has done pricedural road modelling in Unity.
Your answer
Follow this Question
Related Questions
Why my prefab is auto changing? 3 Answers
Mark gameobject field as changed from prefab 2 Answers
changing a bool in a prefab doesn't change in it's instance. 2 Answers
How to save variables in editor, to use them during play mode 0 Answers
Prefab mode doesn't show prefab, still shows old scene. 7 Answers