Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBody.VelocityAtLocalPoint()

function VelocityAtLocalPoint(localPosition : Vector2) : Vector2

Parameters


localPositionThe position in transform local coords that you want to get the velocity of.

Returns

Vector2 - The velocity of the rigid body at the requested point.

Description

Get the velocity of a specific point on the rigid body as specified in the transform's local coords