This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
VRageMath.MyMath.ForwardVectorProjection
Malware edited this page Jan 26, 2019
·
14 revisions
← Index ← Namespace Index ← MyMath
public static Vector3 ForwardVectorProjection(Vector3 forwardVector, Vector3 projectedVector)
This projection results to initial velocity of non-engine objects, which parents move in some velocity We want to add only forward speed of the parent to the forward direction of the object, and if parent is going backward, no speed is added.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!