Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBody.VelocityAtWorldPoint()

function VelocityAtWorldPoint(position : Vector2) : Vector2

Parameters


positionThe position in world 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 world coords