19.2.19 project

pvec = physics.Vect:project(vec)

Parameter

Type

Description

self

in physics.Vect

The input vector

vec

in physics.Vect

The other vector

pvec

out physics.Vect

The vector of self projected onto vec

Computes the projection of self onto another vector.

Introduced in platform.apiLevel = '2.0'