physics-baseline

Configure Cannon-ES physics engine settings for reproducible Myelin LOTO simulations.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Seth-arc/myelin-platform --skill physics-baseline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: physics-baseline
Source: https://github.com/Seth-arc/myelin-platform/tree/main/primary_build_source/docs/skills/3/mnt/user-data/outputs/physics-baseline
Command: npx skills add https://github.com/Seth-arc/myelin-platform --skill physics-baseline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures consistent and reproducible physics simulations within the Myelin simulator by defining and enforcing core physics engine configurations.

Core Features & Use Cases

  • Physics Engine Setup: Initializes the physics world with a specific engine (Cannon-ES), gravity, and solver settings.
  • Timestep Control: Enforces fixed timesteps for deterministic simulation, crucial for accurate scoring.
  • Material Properties: Defines standard physics materials and their interaction properties (friction, restitution).
  • Rigid Body Configuration: Provides standard mass, damping, and material assignments for common LOTO objects.
  • Constraint Management: Sets up specific constraints for valves, hasps, and padlocks, including grab interactions.
  • Continuous Collision Detection (CCD): Enables CCD for small, fast-moving objects to prevent tunnelling.
  • Physics-to-Render Sync: Provides a function to synchronize physics states with visual meshes.

Quick Start

Load this skill before writing any physics initialization or rigid body code to establish the simulation's foundational physics properties.

Frequently Asked Questions about physics-baseline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up deterministic physics simulations in Cannon-ES?

Deterministic physics simulations in Cannon-ES require enforcing fixed timesteps and configuring solver settings. This Skill initializes the physics world with specific gravity and engine configurations to guarantee reproducible simulation outcomes.

How do I prevent collision tunnelling for fast-moving objects in a physics engine?

Preventing collision tunnelling for fast-moving objects requires enabling Continuous Collision Detection (CCD). This Skill configures CCD within the physics simulation to ensure small, fast-moving objects are accurately tracked and do not pass through other rigid bodies.

How do I configure rigid body mass and material friction for simulation objects?

Configuring rigid body mass and material friction requires defining standard physics materials and their interaction properties. This Skill provides standard mass, damping, and material assignments for common LOTO simulation objects like valves and padlocks.

Why do I need fixed timesteps for accurate physics scoring?

Fixed timesteps are needed for accurate physics scoring because they enforce deterministic simulation behavior. This Skill controls the timestep to ensure consistent, reproducible outcomes across multiple simulation runs for reliable evaluation.

How do I sync physics states with visual meshes in a simulation?

Syncing physics states with visual meshes requires a dedicated function to update render positions based on the physics world. This Skill provides physics-to-render synchronization to align Cannon-ES rigid body calculations with visual outputs.

Can I use this physics configuration for standard lockout/tagout simulations?

Yes, this physics configuration is tailored for standard lockout/tagout (LOTO) simulations. It defines specific constraints for valves, hasps, and padlocks, including grab interactions and standard object configurations.