Home - erayzesen/godot-quarkphysics GitHub Wiki

Welcome to the wiki page of the Godot-QuarkPhysics extension. Here, you will find information on how to use the physics engine, its core principles, and API documentation.

QuarkPhysics is a 2D physics engine designed for games. Its goal is to provide a practical approach to simulating rigid bodies, soft bodies, and various physics models together. It currently supports rigid body dynamics and many soft body dynamics you may need, with fluid dynamics coming soon.

QuarkPhysics has a greater mission—it is not a closed-box system that works in isolation. If you understand how it works, you can add the features and constraints you need without breaking the simulation, just like built-in functionalities. This is crucial for game development; it’s not just you adapting to the physics engine—the physics engine should adapt to you.

Fundamentals:

Here, you will find the core working principles of the physics engine, along with tutorials for the most common use cases.

  1. Getting Started: Creating a Physics World
  2. Creating a New QBodyNode and a New QMeshNode
  3. What's QMeshNode and How it Works?
  4. QBodyNode and Base Features
  5. Creating and Using QRigidBodyNode
  6. Creating and Using QSoftBodyNode
  7. Creating and Using QAreaBodyNode
  8. Creating and Using QPlatformerBodyNode
  9. Creating and Using QParticleObject
  10. Creating and Using QRaycastObject
  11. Creating and Using QJointObject
  12. Creating and Using QSpringObject
  13. Creating and Using QAngleConstraintObject
  14. Create Your Custom QMeshNode with Code

Nodes and Objects(GDScript API):

This section contains the API documentation and descriptions of the nodes and objects in the QuarkPhysics plugin.

  • QWorldNode
  • QBodyNode
    • QRigidBodyNode
    • QSoftBodyNode
    • QAreaBodyNode
    • QPlatformerBodyNode
  • QMeshNode
  • QRaycastObject
  • QParticleObject
  • QJointObject
  • QSpringObject
  • QAngleConstraintObject