NewtonCreateSceneCollision

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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