NewtonBodySetCollisionScale

From Newton Wiki
Jump to: navigation, search

NewtonBodySetCollisionScale

void  NewtonBodySetCollisionScale (const NewtonBody* const body, dFloat scaleX, dFloat  scaleY, dFloat scaleZ)

Usage

Scales body's collision accordingly (by calling NewtonCollisionSetScale ) and adjusts joints and mass matrix on the body to account for the change.

Parameters

  • const NewtonBody* const body
  • dFloat scaleX
  • dFloat scaleY
  • dFloat scaleZ

Return

  • (Procedure)

Description

See also