Shape.getVelocity

Returns the linear velocity of a shape.

Kind: Function

Environments: Game

Game

shape:getVelocity(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Vec3 The shape's linear velocity.