#include "TA/Physics/SurfaceAttribute.h"
Surface attributes are used to configure properties such as friction for static objects.
A Static collision object such as TA::CollisionObjectAABBMesh is made up of many polygons each of which can reference to a separate surface attributes. Surface attributes are usually referred to by index and can be retrieved by calling the function TA::Physics::GetSurfaceAttribute.
Public Member Functions | |
| SurfaceAttribute (const SurfaceAttribute &that) | |
| void | Clear () |
| void | SetCollisionFriction (float fCollisionFriction) |
| float | GetCollisionFriction () const |
| void | SetRestitution (float fRestitution) |
| float | GetRestitution () const |
| void | SetTireFriction (float fTireFriction) |
| float | GetTireFriction () const |
| void | SetTireFrictionFallOff (float fTireFrictionFallOff) |
| float | GetTireFrictionFallOff () const |
| void | SetUserData (u32 nUserData) |
| u32 | GetUserData () const |