Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: holyfingers on December 07, 2015, 03:26:02 PM
-
I was searching around for a way to draw and edit a torus in-game and stumbled on this recently necroed thread on the Unity forums: http://forum.unity3d.com/threads/torus-in-unity.8487/
Thought it might be handy as an action:
(http://i.imgur.com/v2FTGWh.gif)
You can edit the overall radius, the cross-sectional radius and the subdivisions. No UVs yet though!
Let me know if you have any problems or spot any mistakes!
Cheers,
Nick
-
WOW cool.. you have to put this on the ecosystem :)
I will try this with the particle system mesh thing. Wonder what it will look like..
-
Should be up there already: https://snipt.net/holyfingers/drawmeshtorus/
Just search for torus and it'll hopefully pop up! :)
-
How to get dependency scripts or Actions in this script
-
Hi there, not too sure what you mean?
I tried the action out in Unity 2017.1 and got an error message due to Mesh.Optimize, you can either just comment that bit out or I've attached a new version with it removed.
Cheers,
Nick