Skip to content

Commit

Permalink
README.md: more improvements to the tutorial section
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Mar 10, 2024
1 parent 2ba5343 commit 188cf91
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,22 @@ which provides hooks for:
+ populating the space with physics objects, and
+ updating the space before each frame is rendered.

The graphics engine maintains an internal list of rendered objects,
The graphics engine doesn't have a scene graph.
Instead, it maintains an internal list of renderable objects,
called *geometries*.
Instantiating a geometry automatically adds it to the list.
Instantiating a geometry automatically adds it to the list
and causes it to be visualized.

+ To visualize world (physics-space) coordinate axes,
+ To visualize the world (physics-space) coordinate axes,
instantiate one or more `LocalAxisGeometry` objects.

By default, physics objects are not visualized.

+ To visualize the shape of a `PhysicsCollisionObject`,
+ To visualize the shape
of a `PhysicsCollisionObject` other than a `PhysicsSoftBody`,
invoke the `visualizeShape()` method on the object.
+ To visualize the local coordinate axes of a `PhysicsCollisionObject`,
invoke the `visualizeAxes()` method on the object.
+ To visualize a `Constraint`,
instantiate one or more `ConstraintGeometry` objects.
+ To visualize the wheels of a `PhysicsVehicle`,
invoke the `visualizeWheels()` method on the vehicle.
+ To visualize the bounding box of a `PhysicsCollisionObject`,
Expand Down

0 comments on commit 188cf91

Please sign in to comment.