Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Physics World

Per-scene physics world: body creation, stepping, and transform synchronisation. More...

Classes

struct  Raven::BodyTransform
 Position and orientation of a physics body, expressed in world space. More...
struct  Raven::RigidBodyDesc
 Full description used to construct a rigid body and its collider. More...
class  Raven::PhysicsWorld
 Owns and drives a single Jolt physics simulation scene. More...

Enumerations

enum class  Raven::BodyMotionType : u8 { Raven::BodyMotionType::Static , Raven::BodyMotionType::Dynamic , Raven::BodyMotionType::Kinematic }
 Motion classification for a rigid body. More...
enum class  Raven::ColliderShape : u8 { Raven::ColliderShape::Box , Raven::ColliderShape::Sphere , Raven::ColliderShape::Capsule }
 Primitive collision shape types supported by PhysicsWorld::CreateShape. More...

Detailed Description

Per-scene physics world: body creation, stepping, and transform synchronisation.

Enumeration Type Documentation

◆ BodyMotionType

enum class Raven::BodyMotionType : u8
strong

Motion classification for a rigid body.

Enumerator
Static 

Immovable; never integrated by the solver.

Dynamic 

Fully simulated; responds to forces and collisions.

Kinematic 

Moved explicitly via PhysicsWorld::MoveKinematic; pushes dynamic bodies.

◆ ColliderShape

enum class Raven::ColliderShape : u8
strong

Primitive collision shape types supported by PhysicsWorld::CreateShape.

Enumerator
Box 

Axis-aligned box defined by RigidBodyDesc::HalfExtent.

Sphere 

Sphere defined by RigidBodyDesc::Radius.

Capsule 

Capsule defined by RigidBodyDesc::Radius and RigidBodyDesc::HalfHeight.