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

float TA::SurfaceAttribute::GetRestitution (  ) const [inline]
 

Call this function to get 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. returns 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::SetRestitution() and TA::DynamicObject::GetRestitution()



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