载入中...
搜索中...
未找到
BonePresentation.h
浏览该文件的文档.
1#pragma once
2#include <cstdint>
3#include "common/Export.h"
4
5namespace eve::physics {
7enum class BoneRuntimeState : std::uint8_t {
8 Attached = 0,
9 Detached = 1,
10 Sleeping = 2,
11};
12
20 BoneRuntimeState state = BoneRuntimeState::Attached;
21 float halfExtentX = 0.5f;
22 float halfExtentY = 0.5f;
23 float halfExtentZ = 0.5f;
24 float worldX = 0.f;
25 float worldY = 0.f;
26 float worldZ = 0.f;
27 float rotX = 0.f;
28 float rotY = 0.f;
29 float rotZ = 0.f;
30 float rotW = 1.f;
31 int clusterId = 0;
32 int fractureLevel = 0;
33};
34
35} // namespace eve::physics
#define EVENGINE_API_BACKENDS
Definition Export.h:108
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
BoneRuntimeState
Runtime lifecycle for one bone inside a geometry-collection instance.
Presentation snapshot for one bone (world pose + proxy extents).