NewtonWorldGetConstraintCount

From Newton Wiki
Jump to: navigation, search

NewtonWorldGetConstraintCount

 int NewtonWorldGetConstraintCount(const NewtonWorld* newtonWorld);

Usage

Returns the total number of constraints in the given world.

Parameters

  • const NewtonWorld* newtonWorld - pointer to the Newton world.

Return

  • Number of constraints in the world.

Description

Returns the total number of constraints in the given world.

Remarks

Added in Newton 2.0

See also

NewtonWorldGetBodyCount