<?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 Veysel Görgen on Medium]]></title>
        <description><![CDATA[Stories by Veysel Görgen on Medium]]></description>
        <link>https://medium.com/@veyselgorgen?source=rss-bf8e1c82e0cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bCqvxIUdlfS5wRF80NrTtQ.jpeg</url>
            <title>Stories by Veysel Görgen on Medium</title>
            <link>https://medium.com/@veyselgorgen?source=rss-bf8e1c82e0cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 05:30:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@veyselgorgen/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[Unity’de Vector3'ü Anlamak: Oyun Fiziğinin Temelleri]]></title>
            <link>https://medium.com/@veyselgorgen/unityde-vector3%C3%BC-anlamak-oyun-fizi%C4%9Finin-temelleri-f87bf9b599c0?source=rss-bf8e1c82e0cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f87bf9b599c0</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[vector]]></category>
            <category><![CDATA[unity]]></category>
            <dc:creator><![CDATA[Veysel Görgen]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 15:18:48 GMT</pubDate>
            <atom:updated>2025-06-30T15:31:59.410Z</atom:updated>
            <content:encoded><![CDATA[<p>Vektör” kelimesini ilk duyduğunuzda muhtemelen aklınızda pek bir şey canlanmıyordur — özellikle sadece okulda duymuşsanız. Genellikle tanımı öğretilir ama gerçek hayatta ya da kodda nasıl kullanıldığı pek anlatılmaz. Bu yazımda, vektörlerin ne olduğunu ve özellikle <strong>Unity</strong>’de oyun geliştirirken neden bu kadar önemli olduklarını açık bir şekilde anlatacağım.</p><h3>Vektör Nedir?</h3><p>Okulda genellikle şöyle bir tanım verilir:</p><blockquote><strong><em>“Vektör, yönü ve büyüklüğü (uzunluğu) olan matematiksel bir nesnedir.”</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxOBE8C_P3ape2eBat3Umw.png" /></figure><p>Bu tanım doğru olsa da, Unity’de kod yazarken çok da sezgisel gelmeyebilir. Başta, “vektör”ün tam olarak neyi temsil ettiğini anlamak zor olabilir.</p><p>Basitleştirelim:</p><p>Bir <strong>vektör</strong>, bir nesnenin <strong>konumunu</strong>, <strong>hareketini</strong> veya <strong>yönünü</strong> tanımlayabilir.<br> Yürüyen bir insan, giden bir araba veya uçan bir drone olabilir — yönü ve hızı olan her şey bir vektördür.</p><h3>Gerçek Dünya Örneği:</h3><p>Sağa doğru <strong>10 km/s</strong> hızla uçan bir <strong>drone</strong> hayal edin.</p><ul><li>Yönü: sağ</li><li>Hızı (büyüklüğü): 10 km/s</li></ul><p>Bu bir <strong>vektördür</strong>.</p><h3>Unity Kod Örneği:</h3><pre>Vector3 drone = new Vector3(10, 0, 0);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4mCKmtvQVTdkQaBwtiNSw.png" /></figure><p>Bu satır, aşağıdaki gibi bir vektörü tanımlar:</p><ul><li>x = 10: Sağa doğru hareket (büyüklüğü 10)</li><li>y = 0: Yukarı/aşağı hareket yok</li><li>z = 0: İleri/geri hareket yok</li></ul><h3>Unity’nin 3D Uzayı:</h3><ul><li><strong>x</strong> → sağ / sol</li><li><strong>y</strong> → yukarı / aşağı</li><li><strong>z</strong> → ileri / geri</li></ul><p><strong>Örnekler:</strong></p><pre>Vector3(10, 0, 0)   // sağ<br>Vector3(-10, 0, 0)  // sol<br>Vector3(0, 10, 0)   // yukarı<br>Vector3(0, -10, 0)  // aşağı<br>Vector3(0, 0, 10)   // ileri<br>Vector3(0, 0, -10)  // geri</pre><p>Unity’de oyun geliştirirken vektörler, sadece matematiksel kavramlar değil; nesnelerin hareketini, yönünü ve etkileşimini kontrol etmenin temel yapı taşıdır. Bu temel bilgileri kavradığınızda, oyun dünyasında fiziksel gerçekliği nasıl kodladığınızı çok daha iyi anlayacaksınız.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f87bf9b599c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Vector3 in Unity: The Basics of Game Physics]]></title>
            <link>https://medium.com/@veyselgorgen/understanding-vector3-in-unity-the-basics-of-game-physics-3518fd7dc389?source=rss-bf8e1c82e0cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3518fd7dc389</guid>
            <dc:creator><![CDATA[Veysel Görgen]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 15:06:20 GMT</pubDate>
            <atom:updated>2025-06-30T15:06:20.091Z</atom:updated>
            <content:encoded><![CDATA[<p>When you first hear the word <strong>“vector”</strong>, it probably doesn’t mean much — especially if you’ve only encountered it in school. Usually, we’re taught the definition, but not how it’s actually used in the real world. In this article, I’ll explain clearly what vectors are and why they’re important in <strong>game development</strong>, especially in <strong>Unity</strong>.</p><h3><strong>What is a Vector?</strong></h3><p>In school, the definition we’re often given is:</p><blockquote><em>“A vector is a mathematical object that has both direction and magnitude (length).”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxOBE8C_P3ape2eBat3Umw.png" /></figure><p>While that’s correct, it’s not very intuitive when you start coding in Unity. At first, you might not fully understand what a “vector” means in this context.</p><p>Let me simplify it:</p><p>A <strong>vector</strong> can describe the <strong>position</strong>, <strong>movement</strong>, or <strong>direction</strong> of an object. It could represent a person walking, a car driving, or a drone flying — anything that has a direction and speed.<br>Real-World Example:</p><p>Imagine a <strong>drone flying to the right</strong> at a speed of <strong>10 km/h</strong>.</p><ul><li>Its <strong>direction</strong> is “right.”</li><li>Its <strong>speed</strong> (magnitude) is 10 km/h.</li></ul><p>This is a <strong>vector</strong>.</p><h3>Unity Coding Example:</h3><pre>Vector3 drone = new Vector3(10, 0, 0);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q4mCKmtvQVTdkQaBwtiNSw.png" /></figure><p>This line defines a vector where:</p><ul><li>x = 10: movement to the <strong>right and magnitude is 10</strong></li><li>y = 0: no vertical movement</li><li>z = 0: no forward/backward movement</li></ul><p>In Unity’s 3D space:</p><ul><li><strong>x</strong> → left and right</li><li><strong>y</strong> → up and down</li><li><strong>z</strong> → forward and backward</li></ul><p>So:</p><pre>Vector3(10, 0, 0) // right<br>Vector3(-10, 0, 0) // left<br>Vector3(0, 10, 0) // up<br>Vector3(0, -10, 0) // down<br>Vector3(0, 0, 10) // forward<br>Vector3(0, 0, -10) // back</pre><h3>EXAMPLE 2: Distance between the player and the target</h3><pre>Vector3 toTarget = target.position - player.position;<br>float distance = toTarget.magnitude;<br>if (distance &lt; 5f)<br>    Debug.Log(&quot;You Closed!&quot;);</pre><p>This way, you can directly measure the distance between two objects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3518fd7dc389" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>