b2d_world_set_substepping(id,substepping)

From ENIGMA
Jump to navigation Jump to search

Description

Sets whether or not the given physics world should use substepping.

Parameters

Parameter Data Type Description
id integer index of the physics world
substepping boolean whether or not to use substepping

Return Values

void: This function does not return anything.

Example Call

// demonstrates enabling substepping for a physics world
b2d_world_set_substepping(myworld, true);