<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Monish on Medium]]></title>
        <description><![CDATA[Stories by Monish on Medium]]></description>
        <link>https://medium.com/@monishiron7?source=rss-31ca5c5392a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tedK8-8Hl1udPUNi</url>
            <title>Stories by Monish on Medium</title>
            <link>https://medium.com/@monishiron7?source=rss-31ca5c5392a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 12:55:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@monishiron7/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cinemachine]]></title>
            <link>https://medium.com/@monishiron7/cinemachine-6196350cbfcc?source=rss-31ca5c5392a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6196350cbfcc</guid>
            <category><![CDATA[gamedevelop]]></category>
            <category><![CDATA[cinemachine]]></category>
            <category><![CDATA[3d]]></category>
            <category><![CDATA[gamedev]]></category>
            <category><![CDATA[unity-development]]></category>
            <dc:creator><![CDATA[Monish]]></dc:creator>
            <pubDate>Mon, 11 Sep 2023 03:57:21 GMT</pubDate>
            <atom:updated>2023-09-11T03:57:21.954Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/452/0*MSIObf2liftEZvc_.png" /></figure><p>Cinemachine is a camera system which takes care of all important camera works and helps you to build the camera system, you want in your game.Most importantly it has already has most of the camera Setup needed to build games.</p><p>Cinemachine works really simple! The two most most important component in-order to setup basic camera system is CinemachineBrain and CinemachineVirtualCamera component.</p><p>CinemachineBrain when attached to mainCamera it overrides the main camera with virtual camera in the scene which is active .In-order to setup the system you have to attach both the components in the scene.</p><h3>CinemachineBrain Component:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/0*GUqrqN6P8hIAPIr-.png" /></figure><h4>Properties:</h4><ul><li>Show Debug Text — use this property to Show the Live virtual Camera which is live.</li><li>Show Camera Frustum-Use this to display the frustum of the Camera</li><li>Ignore TimeScale-Enable this to ignore TimeScale in the Game view</li><li>World Up Override : Use this to Avoid GimbalLock if creating a top down view game.</li><li>Update Method :When to Update Camera Position and Rotation</li><li>Fixed Update : Update Camera with Fixed Interval if using Physics system and Synchronise it</li><li>Late Update :In MonoBehaviour LateUpdate</li><li>Smart Update : Update virtual Camera according to its Target</li><li>Default Blend:There are different types of Blends from one camera to another Try Different Blends and select what suits the game feel</li><li>Custom Blends: Set the asset with Custom blend</li><li>Create AssetL: Create Asset containing a list of custom blends between virtual Camera</li><li>Camera Cut Event : This event fires when a Virtual Camera goes live and there is no blend</li></ul><p>Camera Activated event : This event fire when a VirtualCamera has a blend(You can fire Events using scripts and run any functions that needs to be executed)</p><h3>Setting Up Cinemachine Camera</h3><p>Once Installed and Imported cinemachine into your project(If you don’t know how to Import Cinemachine Check out my previous blog).</p><p>1.1 Create a Empty Scene</p><p>1.2 Select Main Camera and Click on AddComponent and attach CinemachineBrain Component</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/157/0*MOLGGd6WJhV255P9.png" /></figure><p>(1.2)</p><p>1.3 Create a Empty GameObject and Name it virtual Camera</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/0*mu7xbKKjXP0rcUu9.png" /></figure><p>(1.3)</p><p>1.4 Click on AddComponent and attach CinemachineVirtualCamera component to the object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*yRclm5UF_kxFRbF0.png" /></figure><p>(1.4)</p><p>1.5 Create a Duplicate of the Virtual Camera(CTRL + D)and rename it to VirtualCamera2 for easy References</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/0*pGbXpeiDeY6YCcsY.png" /></figure><p>(1.5)</p><p>Enable PlayMode and Activate and Deactivate any VirtualCamera Object in-order to see the effect.</p><p>For Better Effect,</p><p>1.6 Try Attaching the Script in any gameObject in a scene and See changes it in Runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*uz_Nbro-cWx_i1YW.png" /></figure><p>(1.6)</p><h3>Result :</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/0*DeK0KL9s8U-8Kzs-.png" /></figure><h3>Conclusion:</h3><p>Heyoo! you done it You created your first Camera System using Cinemachine you can expand it and create multiple Virtual Camera and use it as you like. Will talk about CineMachine Virtual Camera Components in upcoming blogs.What are you waiting for start creating amazing camera angles and transitions for your game! whats your favourite Camera view comment down below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6196350cbfcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Want to make Simple AI Movement without Using Navmesh Agent in Unity?]]></title>
            <link>https://medium.com/@monishiron7/want-to-make-simple-ai-movement-without-using-navmesh-agent-in-unity-965defb064dc?source=rss-31ca5c5392a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/965defb064dc</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[indie]]></category>
            <category><![CDATA[unity]]></category>
            <dc:creator><![CDATA[Monish]]></dc:creator>
            <pubDate>Wed, 28 Jun 2023 06:35:26 GMT</pubDate>
            <atom:updated>2023-06-28T06:35:26.229Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*wSkjgnlK_BXs7Zde.jpg" /></figure><p><strong>Simple AI:</strong></p><p>The Goal is to create a simple waypoint system for AI without using navmesh Agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/0*ryrP5TNpNJxJ7x-Q.png" /></figure><p><strong>Set-Up Unity Scene:</strong></p><p>* Create a New scene in your Unity project</p><p>* Add A new GameObject Called Enemy Ai which will act as Your AI</p><p>* Add a new GameObject Called Waypoint Container and create child objects which will contain the waypoint position also add sphere mesh and change material to know the points of waypoint</p><p>* Create the Waypoints and Place them in the Scene in the order of your AI movement .</p><p>* Create a New Script Called Enem<br>y_AI and Attach the script to the AI gameobject.</p><p><strong>Enemy AI script:</strong></p><p>First Create the variable Which we will use to update the Position and Rotation of the AI object also the reference towards the Waypoint Positions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/0*3hM_YcAhkZbvkkn8.png" /></figure><p>Create an Enum for Multiple Types of movement can be used</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*uPXObPfOyuNWuW8w.png" /></figure><p>Convert the Waypoint position Arrays to list for Convenience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*JMN8tGmT0hWrp24h.png" /></figure><p>Create the Function to move and Update the Rotation of the Enemy AI object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NRUfn44C2LHzNmpd.png" /></figure><p>Create the Function for Linear movement which updates the Current waypoint and Changes to the next waypoint index once the Ai Has reached certain Distance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Co81oMMyUisgNotV.png" /></figure><p>Call the set_List Function in Start and Call movement type function in the Update</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*H2KIJVkVmj7ASSdX.png" /></figure><p>Add the Values for Enemy AI in Inspector and Play test it.</p><p>Create Two more Movement Types Which are PingPong and Contious using the Below Function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UAzL1Gnlw0A1xXjV.png" /></figure><p>PingPong</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/0*jCyydcr4K4wARSdk.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=965defb064dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>