Difference between revisions of "NewtonBodySetCollisionScale"

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

Latest revision as of 08:02, 10 June 2019

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