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>
Classes | |
struct | Impulse |
Public Types | |
using | Impulses = StaticArray< Impulse, ContactPoints::Capacity > |
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 | mTangent1 |
Normalized tangent of contact normal. | |
Vec3 | mTangent2 |
Second normalized tangent of contact normal (forms a basis with mTangent1 and mWorldSpaceNormal) | |
Impulses | mImpulses |
A structure that contains the estimated contact and friction impulses and the resulting body velocities.
Vec3 CollisionEstimationResult::mAngularVelocity1 |
The estimated angular velocity of body 1 after collision.
Vec3 CollisionEstimationResult::mAngularVelocity2 |
The estimated angular velocity of body 2 after collision.
Impulses CollisionEstimationResult::mImpulses |
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)