27
2013
Editor Mesh Helper Gizmos
Started making a mesh helper editor script. Should be useful to see the mesh details easily.. Current features: – Display selected object details (DrawGizmo) – Draw green boxes on vertex locations (Handles.DotCap) – Display vertex number and UV info (Handles.Label) – Label position is affected […]
26
2013
Save Mesh Created by Script in Editor PlayMode
Saving meshes (which were created by script) in editor playmode was surprisingly simple, http://docs.unity3d.com/Documentation/ScriptReference/AssetDatabase.CreateAsset.html Updated version: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden […]
6
2012
Noob Triangulator (js)
Testing mesh (triangle) generation.. (screenshot: random mesh plane) The REAL Triangulator is here: http://wiki.unity3d.com/index.php/Triangulator (it can handle complex shapes etc.) My javascript triangulator works by adding 1 vertex in the middle, and every triangle will point to it. I was thinking could use this for drawing […]
2
2012
Precalculated Sin Cos Arrays
In the old days (blitz basic, qbasic..) these lookup tables were quite useful! Download test scene: (moving sphere..Note! saved with Unity3D v3.5) mSinCosTables.unitypackage Source: (javascript, attach it to some object to see it moving..)
14
2011
Function: CubicBezier (2D)
Converted function from this source to Unity. Drawing bezier curves (2D). Download source: CubicBezier.unitypackage
13
2011
Function: Integer to Roman numerals
Small function for converting integer into roman numbers. ie 2012 = MMXII
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on