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

IndexNamespace IndexMyMath

Summary

public 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