NewtonWorldGetBodyCount

From Newton Wiki
Jump to: navigation, search

NewtonWorldGetBodyCount

int NewtonWorldGetBodyCount(const NewtonWorld* const newtonWorld)

Usage

Returns the number of bodies in the world.

Parameters

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

Return

  • Number of bodies in the world.

Description

Returns the number of bodies in the world.

Remarks

Added in Newton 2.0

See also

NewtonWorldGetFirstBody NewtonWorldGetNextBody NewtonWorldGetConstraintCount