Difference between revisions of "NewtonMaterialSetDefaultCollidable"

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

Latest revision as of 08:02, 10 June 2019

NewtonMaterialSetDefaultCollidable

Syntax:

void NewtonMaterialSetDefaultCollidable( const NewtonWorld* newtonWorld, int id0, int id1, int state)

Usage

Set the material defined by the interaction between two physics groups to be collidable or non-collidable by default.

Parameters

  • const NewtonWorld *newtonWorld - is the pointer to the Newton world
  • int id0 - group id0
  • int id1 - group id1
  • int state - state for this material: 1 = collidable; 0 = non collidable

See also