Hey guys!
I wrote an article on the dot product. Hopefully it will help someone out.
http://xdpixel.com/dot-product-101/
Hey guys!
I wrote an article on the dot product. Hopefully it will help someone out.
http://xdpixel.com/dot-product-101/
Hey guys!
I wrote an article on the dot product. Hopefully it will help someone out.
http://xdpixel.com/dot-product-101/
The "Calculate the Length of a Vector Efficiently" section has a mismatch between the description and the 2nd code sample.
Description text wants enemy to fire if within (i.e. less than) 4 units from player.
Code sample outputs wanting to fire if distance is greater than 4 units from player.
Would expect/suggest description text to state "If the enemy is at least 4 units away from the player".
Edit: Clarified which code sample, as there are 2 in the section.
Moving. This does not belong in For Beginners.
From the mandatory reading for For Beginners, it is a place for beginners to post questions, not a place to post tutorials aimed at beginners.
Also, this is a cross post. Please don't cross post in the forum.