Skip to content

B2d_body_apply_impulse_angular

hugh greene edited this page Jun 20, 2022 · 1 revision

Description

Applies the magnitude of angular impulse in newtons to the given body.

Parameters

Parameter Description
id index of the body
impulse impulse (Newtons)

Return Values

void: This function does not return anything.

Example Call

// demonstrates applying an counter-clockwise angular impulse of 1000N to the body
b2d_apply_impulse_angular(mybody, -1000);

NOTOC

Clone this wiki locally