simvx.core.physics

SimVX Physics — Rigid body dynamics, collision response, joints.

Pure-Python physics engine using numpy. Integrates with the node lifecycle via physics_process(dt) and the existing collision shapes from simvx.core.collision.

Usage: from simvx.core.physics import RigidBody3D, StaticBody3D, PhysicsServer, PhysicsMaterial from simvx.core.collision import SphereShape, BoxShape

class Ball(RigidBody3D):
    mass = Property(2.0)

    def ready(self):
        self.set_collision_shape(SphereShape(radius=0.5))
        self.physics_material = PhysicsMaterial(restitution=0.8)

Submodules

Package Contents

Data

API

simvx.core.physics.__all__

[‘PhysicsMaterial’, ‘BodyMode’, ‘Contact’, ‘PhysicsServer’, ‘RigidBody2D’, ‘RigidBody3D’, ‘StaticBod…