Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::RigidBodyComponent Struct Reference

Physics body descriptor used for simulation. More...

#include <RigidBodyComponent.h>

Public Attributes

RigidBodyDesc Desc = {}
 Physics body description.
JPH::Ref< JPH::Shape > RuntimeShape = {}
 Runtime physics shape.
bool ShapeDirty = false
 Marks shape for rebuild.

Detailed Description

Physics body descriptor used for simulation.

Created in editor/runtime and instantiated in PhysicsWorld.

Member Data Documentation

◆ Desc

RigidBodyDesc Raven::RigidBodyComponent::Desc = {}

Physics body description.

◆ RuntimeShape

JPH::Ref<JPH::Shape> Raven::RigidBodyComponent::RuntimeShape = {}

Runtime physics shape.

◆ ShapeDirty

bool Raven::RigidBodyComponent::ShapeDirty = false

Marks shape for rebuild.


The documentation for this struct was generated from the following file: