NewtonCreateSceneCollision

From Newton Wiki
Jump to: navigation, search

NewtonCreateSceneCollision

 NewtonCollision* NewtonCreateSceneCollision (const NewtonWorld* newtonWorld);

Usage

Creates a scene collision primitive.

Parameters

  • const NewtonWorld* const newtonWorld
  • int shapeID

Return

  • Pointer to the scene collision primitive.

Description

Creates a scene collision primitive. This primitive acts like a wrapper for other collisions used for representing the static environment. This way you have to have only one body for the whole static scene.

Remarks

Added since Newton 2.0

See also

NewtonSceneCollisionCreateProxy NewtonSceneCollisionOptimize