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>

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
 

Detailed Description

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

Member Typedef Documentation

◆ Impulses

Member Data Documentation

◆ 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.

◆ mImpulses

Impulses CollisionEstimationResult::mImpulses

◆ 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.

◆ mTangent1

Vec3 CollisionEstimationResult::mTangent1

Normalized tangent of contact normal.

◆ mTangent2

Vec3 CollisionEstimationResult::mTangent2

Second normalized tangent of contact normal (forms a basis with mTangent1 and mWorldSpaceNormal)


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