True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::SurfaceAttribute::SetRestitution (
float   fRestitution  ) [inline]
 

Call this function to set the coefficient of restitution for the surface. This value controls how much an object will bounce on this surface. How much an object bounces also depends on its own coefficient of restitution.

Parameters:
fRestitution
Coefficient of restitution. The default value is 0.5f. The value must be from -1.0f to 1.0f. See TA::DynamicObject::SetRestitution() for details;
See also:
TA::SurfaceAttribute::GetRestitution() and TA::DynamicObject::GetRestitution().



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.