Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.MyMath.ForwardVectorProjection

Malware edited this page Dec 25, 2018 · 15 revisions

IndexMyMath

csharp[Vector3](VRageMath.Vector3) ForwardVectorProjection([Vector3](VRageMath.Vector3) forwardVector, [Vector3](VRageMath.Vector3) projectedVector)##### Summary

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.

Returns

Clone this wiki locally