Shape.getInterpolatedUp

Returns the interpolated direction of a shape's top side.

Kind: Function

Environments: Game

Game

shape:getInterpolatedUp(  )

Open the full Game reference

The direction is affected by the shape's rotation in the world.

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Vec3 The shape's interpolated up-axis.