Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
4ian authored Dec 31, 2024
1 parent 9be2e40 commit 9e180fe
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,14 @@ namespace gdjs {
}
}

/**
* A character is simulated by Jolt before the rest of the physics simulation
* (see `doBeforePhysicsStep`).
* This means that contacts with the character would only rarely be recognized by
* the physics engine if using the default contact listeners.
* Instead, this class allows to properly track contacts of the character
* using Jolt `CharacterVirtual::GetActiveContacts`.
*/
export class CharacterCollisionChecker
implements gdjs.Physics3DRuntimeBehavior.CollisionChecker {
characterBehavior: gdjs.PhysicsCharacter3DRuntimeBehavior;
Expand Down

0 comments on commit 9e180fe

Please sign in to comment.