B2d_body_apply_impulse_angular - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

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