Arma 3 Scripting Practice - Dead Body Detection
All code used: http://pasted.co/3dbe0a0a
No-ads link: https://www.pastery.net/rzxetj/raw/
Example mission download: http://www.mediafire.com/file/u9qsuf7rj7l7w5s/DeadBodyDetect.VR.zip
Some more useful links
Basics about vectors
http://tutorial.math.lamar.edu/Classes/CalcII/Vectors_Basics.aspx
Calculating dot product
http://www.mathportal.org/linear-algebra/vectors/dot-product.php
NearestObjects
https://community.bistudio.com/wiki/nearestObjects
LineIntersectsSurfaces
https://community.bistudio.com/wiki/lineIntersectsSurfaces
Some sources for materials used in the video:
Dot product theorem
https://proofwiki.org/wiki/Cosine_Formula_for_Dot_Product
Vectors in 3D space
http://www.intmath.com/vectors/7-vectors-in-3d-space.php
The song played through the dot product montage is called
Sly Joe is Slick - by TeknoAxe
https://www.youtube.com/watch?v=QniXxxlyuq0
Used with the author's written permission
This video contains a scene from Elder Scrolls V: Skyrim, recorded
and released in accordance with Bethesda Softworks user-made video policy
http://www.bethblog.com/bethesda-video-policy/
"This video was created using content of Bohemia Interactive a.s."
"Copyright © 2013 Bohemia Interactive a.s. All rights reserved."
"See www.bistudio.com for more information."
Other Videos By Feuerex
Other Statistics
ARMA 3 Statistics For Feuerex
Feuerex currently has 742,725 views spread across 126 videos for ARMA 3. His channel published over 1 day worth of content for the game, roughly 91.19% of ARMA 3 content that Feuerex has uploaded to YouTube.