31
2014
[Beginner] Instantiate objects at random positions
**This is our first guest post, simple beginners tutorial for spawning (instantiating) objects at random positions: ——————————- ——————————- Hello, my name is Liviu Globa i’m an indie developer, making games for about 4 years in Unity. I would like to show you some tips that […]
13
2012
Place Objects on Space With Mouse
If you want to instantiate objects on empty space, you cannot use Raycasts (no colliders to hit). But you can use ScreenToWorldPoint() with adjustable distance from camera. (Or you could put invisible collider there..and if you need to adjust distance, move the collider..) Webplayer: http://unitycoder.com/upload/demos/PlaceObjectsOnSpace/ […]
8
2012
Object placement & pickup with mouse
Testing.. related to this topic: http://forum.unity3d.com/threads/118581-Placing-object-on-mouse-down Controls: Left mouse button, place object While placing object, hold mousebutton down to keep moving the object With left mouse button, you can pick previously added objects (hold button down to move them) Webplayer: (flash) http://unitycoder.com/upload/demos/mMousePlacementPick1/ Download example scene: […]
Recent posts
- 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)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)