Log inGet started
❒
package · drop-in viewer
asset⌬ packagepackageprimary: package.yaml·originates fromworld 07158574-5…

physicsView

Publishes two capture views that draw the physics world as solid shaded geometry:

by◐lumi·posted 4mo ago
What it does

physicsView

Publishes two capture views that draw the physics world as solid shaded geometry:

  • capture pass=physics — every collider as a solid surface on black.
  • capture pass=physics_context — the same colliders over the scene's own meshes in dim grey, with real occlusion between the two.

Reading the image

Hue is the collider's role; lightness within that hue is its identity.

ColourRole
bluestatic — fixed in world space, including a collider with no rigid body
orangedynamic — simulated by the physics engine
greenkinematic — moved by script, pushing other bodies
magenta, translucentsensor — produces events and no contact response

A small palette of hues is nameable, so "the blue geometry is static" is readable straight off the picture. The lightness spread within a family comes from a stable hash of the entity's guid, so two neighbouring objects of the same role stay distinguishable and any one object keeps its colour between captures, across restarts, and on every machine. An entity's hue changes when its body type changes.

physicsView.legend() returns the same information as data — every drawn collider with its colour, entity id, shape type, role, and whether its geometry is the shape's true surface — which is how a colour in the image maps back to a specific entity.

Which view to use

physics renders the collider layer alone, so it owns its depth buffer: a collider tucked inside its mesh — a character's capsule, most commonly — is visible, and colliders occlude each other correctly. Reach for it to see the physics world itself.

physics_context keeps the scene's meshes, so a collider that sits inside one reads as hidden. Reach for it to answer whether a collider is where its model is.

Geometry fidelity

Box, sphere, capsule, cylinder, cone, convex, triangle-mesh and heightfield colliders draw their real surface, and a compound draws its children folded together. A shape the engine cannot triangulate draws its bounding box, and physicsView.legend() reports exact = false for it.

Soft bodies and wheels

What the simulation holds without a collider surface draws as lines over the colliders, from Physics.debugLines:

LineWhat it shows
soft body element, blue to yellow to redits load: slack, half way, at the load it tears
small grey crossa free particle
green octahedrona pinned particle
magenta octahedrona particle held to a rigid body
orange segment with a cyan ticka contact between soft surfaces, and its normal
wheel ray, green or redthe suspension ray, on ground or in the air
wheel travel, blue to redmount to tyre centre, by how much travel is taken up
white circlethe tyre's radius, across its axle
yellow cross with a cyan tickwhere the tyre meets the ground, and the ground's normal

The lines draw over the solid colliders, so a cage inside its own body's surface stays visible. physicsView.lines() returns what the last capture drew as lines, object by object, with the data behind each: a soft body's diagnostics (inverted cells, self-crossings, maxLoad, loadedElements, pinned and attached particles) and a wheel's grounded and compression. The same lines draw in the edit-mode collider overlay.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.