NewtonMaterialSetDefaultCollidable

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

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