← Back to AI Insights
Gemini Executive Synthesis

Granular physics controls: persistent body force, authored principal inertia, and average restitution combining

Technical Positioning
Providing a physics engine with sufficient control to accurately port existing game logic and achieve specific, realistic physical interactions, moving beyond basic collider-derived properties.
SaaS Insight & Market Implications
Exact's physics engine currently lacks critical controls for advanced game mechanics, specifically persistent forces, authored inertia, and flexible restitution combining. The absence of Body.force forces developers to use Body.velocity, which breaks realistic contact responses. The inability to define principal inertia directly, relying instead on collider estimates, introduces inaccuracies. Furthermore, Rapier's Max rule for restitution prevents nuanced material interactions, such as averaging bounce properties. These limitations impede direct porting of existing physics-driven applications and restrict the fidelity of new simulations. This indicates a gap in Exact's core physics capabilities for demanding interactive experiences, requiring developers to compromise on realism or implement complex workarounds.
Proprietary Technical Taxonomy
persistent force at the centre of mass body.applyForce Body.velocity contact response Authored principal inertia collider rounded-hull error Average restitution combining

Raw Developer Origin & Technical Request

Source Icon GitHub Issue Nov 11, 2026
Repo: expo/exact
game/physics: Body.force, Body.inertia and Collider.bounce_average

### What happened

Porting a cannon-es game needs three body controls that Exact does not expose:

- A persistent force at the centre of mass. A held die is pulled by a spring force each step
(`body.applyForce`). Writing `Body.velocity` instead overrides the contact response, so a held
die cannot knock other dice correctly.
- Authored principal inertia. The original authored exact inertia per die. Parry estimates it
from the collider (see #71 for the rounded-hull error).
- Average restitution combining. cannon-es defines restitution per material pair. With Rapier's
`Max` rule, the felt (no bounce) and the dice (0.42) cannot give a pair value of 0.21.

### Expected

Opt-in fields that are left out of the saved encoding at their defaults, so existing saves and
hashes keep their bytes:

```rust
pub struct Body {
/// Persistent world-space force at the centre of mass, in newtons.
pub force: Vec3,
/// Principal inertia in the body's local frame; all zero derives it from the collider.
pub inertia: Vec3,
// …
}
pub struct Collider {
/// Combine restitution by the average; both colliders must opt in.
pub bounce_average: bool,
// …
}
```

A set force persists until it is cleared and replays exactly after a restore
(`center_force_persists_until_cleared_and_replays`). Omitted controls round-trip through JSON
and binary encodings (`optional_force_and_inertia_round_trip`).

### Measurements

With these controls, Felt's held die follows the original'...

Developer Debate & Comments

No active discussions extracted for this entry yet.

Adjacent Repository Pain Points

Other highly discussed features and pain points extracted from expo/exact.

Extracted Positioning
Full Convex backend integration, including live queries, authentication, and generated types
Enabling seamless integration with modern, real-time backend services like Convex, providing developers with a complete, reactive data layer for Exact applications, mirroring capabilities found in React environments.
Extracted Positioning
Audio session configuration for background mixing and silent switch bypass
Enabling applications to integrate seamlessly into a user's existing audio environment, allowing concurrent playback with other apps and respecting user preferences for silent mode, crucial for 'companion' or 'utility' apps.
Extracted Positioning
Android canvas child rendering and composition
Ensuring correct rendering and visibility of UI elements (children) within a GPU canvas on Android, supporting both individual child rendering and composite rendering modes, essential for complex UIs.
Extracted Positioning
Canvas surface first-frame presentation event/API
Providing a reliable mechanism for synchronizing UI elements (like loaders) with the actual rendering of a canvas surface, ensuring a smooth user experience by preventing premature loader dismissal or empty canvas flashes.
Extracted Positioning
Android UI animation and progress indicator rendering
Ensuring consistent and expected UI animation behavior across different layout contexts on Android, specifically for progress indicators and CSS keyframes animations, to prevent perceived application hangs.

Frequently Asked Questions

Market intelligence mapped to Granular physics controls: persistent body force, authored principal inertia, and average restitution combining.

How is Granular physics controls: persistent body force, authored principal inertia, and average restitution combining positioned in the market?
Based on our AI analysis of the original developer request, its primary technical positioning is: Providing a physics engine with sufficient control to accurately port existing game logic and achieve specific, realistic physical interactions, moving beyond basic collider-derived properties.
Are engineers actively discussing Granular physics controls: persistent body force, authored principal inertia, and average restitution combining?
Yes, we have tracked 2 direct responses and active debates regarding this specific topic originating from GitHub Issue.
Which technical concepts are associated with Granular physics controls: persistent body force, authored principal inertia, and average restitution combining?
Our proprietary extraction maps Granular physics controls: persistent body force, authored principal inertia, and average restitution combining to adjacent architectural concepts including persistent force at the centre of mass, body.applyForce, Body.velocity, contact response.

Engagement Signals

2
Replies
open
Issue Status

Cross-Market Term Frequency

Counts stored text matches for foundational terms like JSON and collider in analysed public discussions. These counts do not measure adoption.

Stored text matches, not adoption or market-share measurements.

  • JSON: 84 records
  • collider: 2 records
  • persistent force at the centre of mass: 1 records
  • body.applyForce: 1 records
  • Body.velocity: 1 records
  • contact response: 1 records
  • Authored principal inertia: 1 records
  • rounded-hull error: 1 records
  • Average restitution combining: 1 records
  • material pair: 1 records
  • Rapier's Max rule: 1 records
  • Vec3: 1 records
  • saved encoding: 1 records
  • binary encodings: 1 records