[Unity] I tried 3DBall sample of Unity “ML-Agents” (Tried Machine Learning)

Regarding ML-Agents which is Unity plugin to realize Machine Learning environment in Unity, in the last 2 times, I explained how to set up 3Dball which is sample of ML-Agents using sample learned model. [Link: I tried 3DBall sample of Unity “ML-Agents” (Using sample learned model) Part1] [Link: I tried 3DBall sample of Unity “ML-Agents” (Using sample learned model) Part2] This time, I’ll explain how to run Machine Learning itself... Read more

[Unity] How to install Unity. (Unity 2018)

This is explanation about Unity installation for Windows. I am explaining how to install Unity editor for beginners. This article is for participants for a programming class, but many Unity beginners also can refer this. (This explanation is targeting Unity2018.1. Already some new versions have been released, but the installation way is not so changed. If you need, you can select the latest version.)   [Overview of the operation steps]... Read more

[Unity] I tried 3DBall sample of Unity “ML-Agents” (Using sample learned model) Part2

Regarding ML-Agents which is Unity plugin to realized Machine Learning environment in Unity, last time, I explained about pre-preparation step (create Python environment) to try 3Dball which is sample of ML-Agents. [Link: I tried 3DBall sample of Unity “ML-Agents” (Using sample learned model) Part1] This time, I’ll explain set up in Unity to try the 3Dball sample.   [2. Make machine learning environment in Unity] 2.1. Open ML-Agents project in... Read more

[Unity] I tried 3DBall sample of Unity “ML-Agents” (Using sample learned model) Part1

Regarding ML-Agents which is Unity plugin to realized Machine Learning environment in Unity, already some demos have been shown in sessions held in Unite and some events. I also introduced about those sessions some times. [Link: Unite 2018 Tokyo: Introduce about “Unity for Deep Learning: Tool kit: ML-Agents”.] [Link: ] In those demo, there is a sample demo which is used every times. The name is 3Dball. This time, I’ll... Read more

[Unity] How to show the image of a sub-camera on “Render Texture”.

This time, I’ll introduce how to create sub-camera like following image which is my released windows’ game ‘Merlion Adventure for windows’. This game have the 2nd window at right bottom which is view of the game scene from the top. (By the way, this ‘Merlion Adventure for windows’ is released from Microsoft Store. Please also try it.) [Link: https://www.microsoft.com/en-us/p/merlion-adventure/9p2tzw95xsm1?activetab=pivot%3aoverviewtab]   [The way to show an image of sub-camera] There are... Read more

[Unity] How to release iOS app by Windows PC (Overview)

I’m Windows user, never had Mac PC. However I released some game apps from Apple store. [Link: Game App from Lab7] Basically we need Mac PC to release App for iOS, but there is a way to release by only Windows PC. This time, I’ll introduce how we can release iOS app without Mac PC.   [Precondition for this way] This explanation is starting after finishing making game app without any... Read more

[Unity] Physics: I tried “Physics. Spherecast”.

Before, I tried “Physics.Raycast”, then I wrote the results in this blog. [Link: Physics: I tried “Physics.Raycast” from Game Object.] [Link: Physics: I tried “Physics.Raycast” from Camera.] This time, I’ll introduce other Casting methods under Physics class. (However, I think that “Raycast” is the most popular and used high frequently.) [Ref: https://docs.unity3d.com/ScriptReference/Physics.html]   [Some Cast methods under Physics class] BoxCast Casting Box shaped Ray, check whether hit the ray to... Read more

[Unity] I tried to draw to Texture. Part2

Last time, I tried to directly draw to a texture attached game object. [ Previous: I tried to draw to Texture. Part1 ] In the blog log, looks like many people are reading the source, so this time I’m explaining more about the logic for beginners. Following is the C# source for drawing a texture, I added many comments so that you can understand easily this source. This ‘Paint_Line’ method... Read more

[Unity] I tried to draw to Texture. Part1

This time, I tried to directly draw to a texture attached a game object. This program is very simple. To test drawing to a texture, it’s drawing yellow color at the position where the game object is locating on the red texture which is attached on a field’s game object. [To realize this function] There are 2 game objects and 2 C# programs for this test. ‘Test_Draw’ is a program... Read more