moss-physics

Integrate the Moss physics library into Subspace Infinity Java game client and server.

25|5|Updated Apr 22, 2017
One-click install
npx skills add https://github.com/assofohdz/subspace-infinity --skill moss-physics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moss-physics
Source: https://github.com/assofohdz/subspace-infinity/tree/main/.claude/skills/moss-physics
Command: npx skills add https://github.com/assofohdz/subspace-infinity --skill moss-physics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the steep learning curve and implementation errors when integrating the custom Moss physics library into the Subspace Infinity game, ensuring correct collision detection, physics simulation, and entity movement that matches the original Subspace Continuum experience.

Core Features & Use Cases

  • Physics System Integration: Guides setup of the MPhysSystem core physics manager and physics space for the game's ECS architecture.
  • Collision & Contact Handling: Provides implementation patterns for collision filtering, contact event processing, and friction correction for game entities like ships and projectiles.
  • Entity Movement Configuration: Covers setup of physics body initializers, shape factories, and movement drivers for both player-controlled and AI-controlled entities.
  • Use Case: When adding a new ship type to Subspace Infinity, use this Skill to correctly configure its physics shape, collision category, and movement impulses to replicate the original game's handling.

Quick Start

Use the moss-physics skill to implement collision detection and physics movement for a new player ship entity in the Subspace Infinity game.

Frequently Asked Questions about moss-physics

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

FAQPage Schema
How do I integrate custom physics and collision detection into a Java game using an entity component system?

Integrate custom physics and collision detection by configuring the MPhysSystem core physics manager within your ECS architecture, enabling rigid body dynamics and contact event handling for game entities.

How do I set up collision filtering and contact events for multiplayer game entities in jMonkeyEngine?

Set up collision filtering and contact events by registering physics listeners that process contact events, apply friction correction, and manage collision categories for ships and projectiles in your game.

Can I use Zay-ES to manage physics-driven entity movement for both player and AI-controlled ships?

Yes, Zay-ES can manage physics-driven movement by integrating physics body initializers, shape factories, and movement drivers as ECS components for both player-controlled and AI-controlled entities.

What is the best way to configure physics shapes and movement impulses to replicate original game handling in a 2D multiplayer Java client?

Configure physics shapes and movement impulses by setting up rigid body dynamics and static body collision parameters that accurately match the original Subspace Continuum gameplay experience.

Does moss-physics support rigid body dynamics and static body collision for Subspace Infinity server and client integration?

Yes, moss-physics supports rigid body dynamics and static body collision, providing the implementation patterns needed to integrate accurate physics simulation across both the Subspace Infinity client and server.