You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > Vectors

19.2 Vectors

A vector is a 2-dimensional object with x and y components. Its type is TI.cpVect.

Related Topics

Vect

add

clamp

cross

dist

distsq

dot

eql

length

lengthsq

lerp

lerpconst

mult

near

neg

normalize

normalizeSafe

perp

project

rotate

rperp

setx

sety

slerp

slerpconst

sub

toangle

unrotate

x

y