#include <material_pair_and_contact.hpp>
Inheritance diagram for irr::newton::MaterialPairAndContact:
Public Member Functions | |
irr::f32 | getContactNormalSpeed () |
irr::f32 | getContactTangentSpeed (bool index) |
MaterialPairAndContact (NewtonMaterial *material_to_set, NewtonContact *contact_to_set) | |
MaterialPairAndContact () |
irr::newton::MaterialPairAndContact::MaterialPairAndContact | ( | ) | [inline] |
constructor. don't call this directly
irr::newton::MaterialPairAndContact::MaterialPairAndContact | ( | NewtonMaterial * | material_to_set, | |
NewtonContact * | contact_to_set | |||
) | [inline] |
constructor. don't call this directly
irr::f32 irr::newton::MaterialPairAndContact::getContactNormalSpeed | ( | ) |
Calculate the speed of this contact along the normal vector of the contact
irr::f32 irr::newton::MaterialPairAndContact::getContactTangentSpeed | ( | bool | index | ) |
Calculate the speed of this contact along the tangent vector of the contact
index | to the tangent vector. This value can be 0 for primary tangent direction or 1 for the secondary tangent direction. |