Shape.transformDirection

Transform a world direction to the local shape transform.

Kind: Function

Environments: Game

Game

shape:transformDirection( vector )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.
vector Vec3 The untransformed direction.

Returns:

Type Description
Vec3 The transformed direction.