41 static const neolib::uuid sId = { 0x55468971, 0xb33e, 0x4e54, 0xa563, { 0xb8, 0x98, 0x3f, 0x22, 0xa, 0xfc } };
46 static const string sName =
"Box Collider";
58 return component_data_field_type::Uint64;
62 return component_data_field_type::Aabb | component_data_field_type::Optional | component_data_field_type::Internal;
64 return component_data_field_type::Uint32 | component_data_field_type::Internal;
71 static const string sFieldNames[] =
74 "AABB (Untransformed)",
79 return sFieldNames[aFieldIndex];
96 static const neolib::uuid sId = { 0xc3dcb106, 0xc862, 0x42a7, 0xa07b, { 0x90, 0x7f, 0x7e, 0x47, 0x17, 0x2a } };
101 static const string sName =
"Box Collider (2D)";
113 return component_data_field_type::Uint64;
117 return component_data_field_type::Aabb2d | component_data_field_type::Optional | component_data_field_type::Internal;
119 return component_data_field_type::Uint32 | component_data_field_type::Internal;
126 static const string sFieldNames[] =
129 "AABB (Untransformed)",
134 return sFieldNames[aFieldIndex];
component_data_field_type
std::optional< aabb_2d > previousAabb
std::optional< aabb_2d > currentAabb
uint32_t collisionEventId
std::optional< aabb_2d > untransformedAabb
std::optional< aabb > previousAabb
uint32_t collisionEventId
std::optional< aabb > untransformedAabb
std::optional< aabb > currentAabb