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

19.3.16 wrapVect

wvec = physics.BB:wrapVect(vec)

Parameter

Type

Description

self

in physics.BB

The input bounding box

vec

in physics.Vect

A vector

wvec

out physics.Vect

A vector wrapped to the bounding box

Returns a copy of vec wrapped to the bounding box.

Introduced in platform.apiLevel = '2.0'