# clutter-box2d **Repository Path**: mirrors_chromium_gitlab_gnome/clutter-box2d ## Basic Information - **Project Name**: clutter-box2d - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-09 - **Last Updated**: 2025-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Clutter-Box2d ============= A glue layer between clutter and box2d that provides a special group where the actors can be set to be static or dynamic in regard to a physics simulation. The source tree currently contains an embedded version of box2d trunk. Features: - Children of the ClutterBox2d group can be simulated as static or dynamic rigid bodies. Collision detection. - Specifying the gravity of the world. - play/pause control over the box2d physics engine - Setting linear and angular velocities of simulated children. - automatic position synchronization between clutter and box2d. - joints - prismatic. - revolute. - distance (spring) - mouse (for dragging objects around and manipulating them). TODO: - debug drawing of - joints (and shapes) - actors/bodies - support translating back and forth to clutter actors with more properties. - resync when scale/geometry of actor changes - support assigning arbitrary non rectangular shapes, like circles and polylines. - joints - make the ClutterBox2DJoint not be a struct but proper GObjects to make use of properties and paramspecs. - access to motor functionality of prismatic and revolute joints. - add gear joint - sensor support