![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
A structure that contains the estimated contact and friction impulses and the resulting body velocities. More...
#include <EstimateCollisionResponse.h>
Public Attributes | |
| Vec3 | mLinearVelocity1 |
| The estimated linear velocity of body 1 after collision. | |
| Vec3 | mAngularVelocity1 |
| The estimated angular velocity of body 1 after collision. | |
| Vec3 | mLinearVelocity2 |
| The estimated linear velocity of body 2 after collision. | |
| Vec3 | mAngularVelocity2 |
| The estimated angular velocity of body 2 after collision. | |
| Vec3 | mFrictionPoint |
| Point at which friction was applied (relative to mBaseOffset of the manifold) | |
| Vec3 | mTangent1 |
| Normalized tangent of contact normal. | |
| Vec3 | mTangent2 |
| Second normalized tangent of contact normal (forms a basis with mTangent1 and mWorldSpaceNormal) | |
| float | mFrictionImpulse1 = 0 |
| Estimated friction impulses in the direction of tangent 1 (kg m / s) | |
| float | mFrictionImpulse2 = 0 |
| Estimated friction impulses in the direction of tangent 2 (kg m / s) | |
| float | mAngularFrictionImpulse = 0 |
| Estimated angular friction impulse around the world space normal (kg m^2 / s) | |
| StaticArray< float, ContactPoints::Capacity > | mContactImpulse |
| Estimated contact impulses (kg m / s) | |
A structure that contains the estimated contact and friction impulses and the resulting body velocities.
| float CollisionEstimationResult::mAngularFrictionImpulse = 0 |
Estimated angular friction impulse around the world space normal (kg m^2 / s)
| Vec3 CollisionEstimationResult::mAngularVelocity1 |
The estimated angular velocity of body 1 after collision.
| Vec3 CollisionEstimationResult::mAngularVelocity2 |
The estimated angular velocity of body 2 after collision.
| StaticArray<float, ContactPoints::Capacity> CollisionEstimationResult::mContactImpulse |
Estimated contact impulses (kg m / s)
| float CollisionEstimationResult::mFrictionImpulse1 = 0 |
Estimated friction impulses in the direction of tangent 1 (kg m / s)
| float CollisionEstimationResult::mFrictionImpulse2 = 0 |
Estimated friction impulses in the direction of tangent 2 (kg m / s)
| Vec3 CollisionEstimationResult::mFrictionPoint |
Point at which friction was applied (relative to mBaseOffset of the manifold)
| Vec3 CollisionEstimationResult::mLinearVelocity1 |
The estimated linear velocity of body 1 after collision.
| Vec3 CollisionEstimationResult::mLinearVelocity2 |
The estimated linear velocity of body 2 after collision.
| Vec3 CollisionEstimationResult::mTangent1 |
Normalized tangent of contact normal.
| Vec3 CollisionEstimationResult::mTangent2 |
Second normalized tangent of contact normal (forms a basis with mTangent1 and mWorldSpaceNormal)