Table of Contents

Method b3Body_SetLinearVelocity

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3Body_SetLinearVelocity(b3BodyId, Vector3)

Set the linear velocity of a body at the center of mass. Usually in meters per second.

public static extern void b3Body_SetLinearVelocity(b3BodyId bodyId, Vector3 linearVelocity)

Parameters

bodyId b3BodyId

See the Box3D documentation.

linearVelocity Vector3

See the Box3D documentation.