simvx.core.physics

SimVX Physics: seam-backed rigid bodies, characters, areas, joints, queries.

The public physics surface is the seam stack: one PhysicsBody2D/3D node with a runtime-mutable :class:BodyMode (STATIC | KINEMATIC | DYNAMIC), swept CharacterBody2D/3D controllers, Area2D/3D + GravityArea2D/3D triggers, CollisionShape2D/3D carriers fed by :class:Shape / :class:Shape2D resources, joints, and the self.physics / self.physics_2d spatial-query wrappers. Bodies resolve their world through a :class:PhysicsRoot /

class:

PhysicsRoot2D ancestor (or an implicit default world).

Usage: from simvx.core import PhysicsBody3D, BodyMode, CollisionShape3D, SphereShape3D

class Ball(PhysicsBody3D):
    mode = Property(BodyMode.DYNAMIC)

    def on_ready(self):
        self.add_child(CollisionShape3D(shape=SphereShape3D(0.5)))

Subpackages

Submodules

Package Contents

Data

API

simvx.core.physics.__all__

[‘BodyMode’, ‘CombineMode’, ‘PhysicsMaterial’, ‘Contact’, ‘Contact2D’, ‘Shape’, ‘SphereShape3D’, ‘Bo…