Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
CollisionEstimationResult Struct Reference

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 mFrictionImpulse
 Estimated linear friction impulse (kg m / s)
 
float mAngularFrictionImpulse
 Estimated angular friction impulse around the world space normal (kg m^2 / s)
 
StaticArray< float, ContactPoints::Capacity > mContactImpulse
 Estimated contact impulses (kg m / s)
 

Detailed Description

A structure that contains the estimated contact and friction impulses and the resulting body velocities.

Member Data Documentation

◆ mAngularFrictionImpulse

float CollisionEstimationResult::mAngularFrictionImpulse

Estimated angular friction impulse around the world space normal (kg m^2 / s)

◆ mAngularVelocity1

Vec3 CollisionEstimationResult::mAngularVelocity1

The estimated angular velocity of body 1 after collision.

◆ mAngularVelocity2

Vec3 CollisionEstimationResult::mAngularVelocity2

The estimated angular velocity of body 2 after collision.

◆ mContactImpulse

StaticArray<float, ContactPoints::Capacity> CollisionEstimationResult::mContactImpulse

Estimated contact impulses (kg m / s)

◆ mFrictionImpulse

Vec3 CollisionEstimationResult::mFrictionImpulse

Estimated linear friction impulse (kg m / s)

◆ mFrictionPoint

Vec3 CollisionEstimationResult::mFrictionPoint

Point at which friction was applied (relative to mBaseOffset of the manifold)

◆ mLinearVelocity1

Vec3 CollisionEstimationResult::mLinearVelocity1

The estimated linear velocity of body 1 after collision.

◆ mLinearVelocity2

Vec3 CollisionEstimationResult::mLinearVelocity2

The estimated linear velocity of body 2 after collision.


The documentation for this struct was generated from the following file: