Skip to content

Commit

Permalink
Update docs/manual/03_modules/02_spatial/01_transforms.md
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-salazar authored Jun 10, 2024
1 parent 24e9bbc commit 05f27ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/manual/03_modules/02_spatial/01_transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ To optimize traditional hierarchy-based calculations, the `TransformSystem` auto

Physics is split into two systems.

The first is the `PhysicsSystem` which updates the ECS and physics bodies before & after simulation, as well running the simulation. Substeps can be configured via `PhysicsState`, and the simulation timestep can be configured via `ECSState`. Beyond this, the system has a few neat tricks, such as interpolating kinematic rigidbodies between substeps, and automatically populating & depopulating collision events into the `CollisionComponent`.
The first is the `PhysicsSystem` which updates the ECS and physics bodies before and after simulation, as well as running the simulation. Substeps can be configured via `PhysicsState`, and the simulation timestep can be configured via `ECSState`. Beyond this, the system has a few neat tricks, such as interpolating kinematic rigidbodies between substeps, and automatically populating and depopulating collision events into the `CollisionComponent`.

The second is the `PhysicsPreTransformSystem` which has two responsibilities, teleporting rigidbodies & colliders if the `TransformComponent` has been mutated, and smoothly interpolating the transform of an entity between physics steps, such that it does not stutter relative to the device framerate.

Check failure on line 21 in docs/manual/03_modules/02_spatial/01_transforms.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Microsoft.Contractions] Use 'doesn't' instead of 'does not'. Raw Output: {"message": "[Microsoft.Contractions] Use 'doesn't' instead of 'does not'.", "location": {"path": "docs/manual/03_modules/02_spatial/01_transforms.md", "range": {"start": {"line": 21, "column": 251}}}, "severity": "ERROR"}

0 comments on commit 05f27ba

Please sign in to comment.