Difference between revisions of "NewtonCreateSceneCollision"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

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