Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.MyMath.ForwardVectorProjection

Malware edited this page Jan 26, 2019 · 14 revisions

IndexNamespace IndexMyMath

Summary

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.

Returns

Vector3

Parameters

Clone this wiki locally