May
8
2013

Using crossdomain.xml

Duh! That was one annoying error.. >< Error reading crossdomain policy: Expected element UnityEngine.UnityCrossDomainHelper:GetSecurityPolicy(String) Error downloading mesh: Rejected because no crossdomain.xml policy file was found UnityEngine.MonoBehaviour:print(Object) MeshSerializer:ReadMeshFromWWW(WWW) (at Assets/MeshSerializer.js:355) $:MoveNext() (at Assets/LoadMeshFromWeb.js:11) While using  MeshSerializer2 to read mesh data from server http://wiki.unity3d.com/index.php/MeshSerializer2 And crossdomain.xml was […]

Apr
14
2013

Heightmap Chunk

Saw this in the forums (simpleminecraft), sounds interesting!. Havent looked at their sources yet, but made own test version first.. Current version: – Single chunk.. – Chunk creator (random or perlin) – 2D array for grid heights – 3D array for grid cell types – […]

Apr
12
2013

Water Particles

Converted this javascript demo to Unity C#: Aqualibrium by Gerard Ferrandez Info: – Had to make some modifications since all those javascript [this] that.x variables were quite complicated..but seems to work 🙂 – Screenshot shows 500 spheres with debug.drawlines to each neighbour particle (added gravity […]

Apr
9
2013

A* PathFinder 2D & 3D

Converted this pathfinder to Unity: “Another faster version of A* (2D+3D) in C#” (by Roy Triesscheijn) That was amazing: 0 errors when dragged those c# files into unity Oo! Just added those boxes and linerenderer to draw the path.. (main image is 20x20x20 grid with random […]

Apr
8
2013

Eulerian Water Simulation C#

Converted one 2D water simulation to Unity, see original code & video (youtube) – source link at description (by Matthew Bettcher) Check the old test also: 2D Fluids with Cellular Automata TODO: – Erosion? – Floating objects? – Different types of fluids? Webplayer: http://unitycoder.com/upload/demos/WaterSim2/ (texture […]

Apr
7
2013

Basic Illumination Model C#

Converted this script to unity: Basic Illumination Model by andalmeida. Problems / info: – Converted most of the values to floats.. because Mathf.Max() didnt like doubles.. i guess could had made some extension to it.. (maybe thats why there are some artifacts) – Specularity didnt […]

Apr
6
2013

Roguelike Shadowcasting

Converted this shadow/visibility to unity:  Shadowcasting in c#  by Eric Lippert. Looks quite nice. Todo: – How to do ascii map? ( Gui.TextArea is not good..Or just use SetPixels.. Or use invidual planes with textures..) – Try with 3D objects/view? – Try with perlin generated […]

Apr
2
2013

Inventory Script Test

Testing one idea for a inventory system. (free sword from assetstore) Basic idea is, – Use the same objects inside the inventory (3D model, with colliders) – No need to draw icons or to use unity GUI() – Objects take realistic amount of space, you […]

Mar
31
2013

Webplayer 100% Width & Height

Making the webplayer 100% width & height: Publish your project to webplayer (default template) File / Build Settings Select webplayer as platform Click “Add current”, if you havent added your scene to the build list yet Click “Player settings” From panel “Resolution & presentation”, you […]

Mar
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 […]

Pages:«1...31323334353637...51»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.