@series-inc/rundot-syncplay 6.0.0-rc.75 → 6.0.0-rc.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/native/physics/physics.cpp +74 -25
- package/core/src/physics/physics-profile-wasm-module.generated.mjs +4 -4
- package/core/src/physics/physics-profile.wasm +0 -0
- package/core/src/physics/physics-wasm-module.generated.mjs +4 -4
- package/core/src/physics/physics.wasm +0 -0
- package/core/src/physics2d/physics2d-wasm-module.generated.mjs +1 -1
- package/dist/authority-room.d.ts +25 -0
- package/dist/authority-room.js +34 -6
- package/dist/canonical.d.ts +2 -0
- package/dist/canonical.js +22 -0
- package/dist/input-authority.d.ts +15 -0
- package/dist/input-authority.js +110 -1
- package/package.json +1 -1
|
@@ -4833,8 +4833,10 @@ std::optional<std::array<double, 6>> nativeBoundsChartKey(SolverOperation& opera
|
|
|
4833
4833
|
return std::array<double, 6>{chart->anchor[0], chart->anchor[1], chart->anchor[2],
|
|
4834
4834
|
chart->displacement[0], chart->displacement[1], chart->displacement[2]};
|
|
4835
4835
|
}
|
|
4836
|
-
BroadphaseBounds nativeChartBounds(SolverOperation& operation, const Body& body
|
|
4837
|
-
|
|
4836
|
+
BroadphaseBounds nativeChartBounds(SolverOperation& operation, const Body& body,
|
|
4837
|
+
const NativeTickChart* chart = nullptr,
|
|
4838
|
+
NativeCompoundBoxCoefficients* boxCoefficients = nullptr) {
|
|
4839
|
+
if (chart == nullptr) chart = nativeTickChartFor(operation, body);
|
|
4838
4840
|
BoundsVector center{boundsPoint(body.x), boundsPoint(body.y), boundsPoint(body.z)};
|
|
4839
4841
|
if (chart != nullptr) {
|
|
4840
4842
|
for (unsigned i = 0; i < 3; ++i) center[i] = boundsAdd(boundsPoint(chart->anchor[i]), boundsPoint(chart->displacement[i]));
|
|
@@ -4842,7 +4844,9 @@ BroadphaseBounds nativeChartBounds(SolverOperation& operation, const Body& body)
|
|
|
4842
4844
|
center = boundsAdd(center, {boundsPoint(body.shapeOffsetX), boundsPoint(body.shapeOffsetY), boundsPoint(body.shapeOffsetZ)});
|
|
4843
4845
|
BoundsVector result;
|
|
4844
4846
|
if (!isGeometryShape(body.shape)) {
|
|
4845
|
-
|
|
4847
|
+
NativeCompoundBoxCoefficients localCoefficients;
|
|
4848
|
+
auto* coeff = boxCoefficients != nullptr ? boxCoefficients : &localCoefficients;
|
|
4849
|
+
result = nativePrimitiveBounds(body, center, nativePrimitiveExtent(body, coeff), coeff);
|
|
4846
4850
|
} else if (body.shape == ShapeKind::Compound && body.geometryFormat >= 4 && body.geometryFormat <= 6) {
|
|
4847
4851
|
const auto values = geometryForBody(operation, body);
|
|
4848
4852
|
const unsigned count = compoundChildCount(operation, body);
|
|
@@ -4915,8 +4919,10 @@ BroadphaseBounds nativeChartBounds(SolverOperation& operation, const Body& body)
|
|
|
4915
4919
|
return {result[0].low, result[1].low, result[2].low, result[0].high, result[1].high, result[2].high};
|
|
4916
4920
|
}
|
|
4917
4921
|
|
|
4918
|
-
BroadphaseBounds bodyBounds(SolverOperation& operation, const Body& body
|
|
4919
|
-
|
|
4922
|
+
BroadphaseBounds bodyBounds(SolverOperation& operation, const Body& body,
|
|
4923
|
+
const NativeTickChart* chart = nullptr,
|
|
4924
|
+
NativeCompoundBoxCoefficients* boxCoefficients = nullptr) {
|
|
4925
|
+
if (!operation.tickCharts.empty()) return nativeChartBounds(operation, body, chart, boxCoefficients);
|
|
4920
4926
|
if (body.shape == ShapeKind::Box) {
|
|
4921
4927
|
return orientedBounds(body, {0.0, 0.0, 0.0}, {body.shape0, body.shape1, body.shape2});
|
|
4922
4928
|
}
|
|
@@ -4964,7 +4970,8 @@ BroadphaseBounds bodyBounds(SolverOperation& operation, const Body& body) {
|
|
|
4964
4970
|
(geometry.maxZ - geometry.minZ) / 2.0});
|
|
4965
4971
|
}
|
|
4966
4972
|
|
|
4967
|
-
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body
|
|
4973
|
+
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body,
|
|
4974
|
+
NativeCompoundBoxCoefficients* boxCoefficients = nullptr);
|
|
4968
4975
|
|
|
4969
4976
|
bool boundsOverlap(const BroadphaseBounds& left, const BroadphaseBounds& right) {
|
|
4970
4977
|
return left.minX <= right.maxX && right.minX <= left.maxX
|
|
@@ -5054,7 +5061,20 @@ std::optional<std::size_t> denseBodyIndex(const SolverOperation& operation, cons
|
|
|
5054
5061
|
return offset / sizeof(Body);
|
|
5055
5062
|
}
|
|
5056
5063
|
|
|
5057
|
-
|
|
5064
|
+
inline const NativeTickChart* nativeTickChartAt(const SolverOperation& operation, std::uint32_t index) {
|
|
5065
|
+
if (index >= operation.tickCharts.size()) return nullptr;
|
|
5066
|
+
return &operation.tickCharts[index];
|
|
5067
|
+
}
|
|
5068
|
+
|
|
5069
|
+
inline std::optional<std::array<double, 6>> nativeBoundsChartKeyAt(const SolverOperation& operation, std::uint32_t index) {
|
|
5070
|
+
const auto* chart = nativeTickChartAt(operation, index);
|
|
5071
|
+
if (chart == nullptr) return std::nullopt;
|
|
5072
|
+
return std::array<double, 6>{chart->anchor[0], chart->anchor[1], chart->anchor[2],
|
|
5073
|
+
chart->displacement[0], chart->displacement[1], chart->displacement[2]};
|
|
5074
|
+
}
|
|
5075
|
+
|
|
5076
|
+
bool matchingBodyBounds(const CachedBodyBoundsState& cache, SolverOperation& operation, const Body& b,
|
|
5077
|
+
const std::optional<std::array<double, 6>>& chart) {
|
|
5058
5078
|
if (!cache.valid) return false;
|
|
5059
5079
|
if (isGeometryShape(b.shape)) {
|
|
5060
5080
|
if (b.geometryRecord == nullptr || b.geometrySource != GeometryInputSource::OwnedRecord) return false;
|
|
@@ -5064,7 +5084,6 @@ bool matchingBodyBounds(const CachedBodyBoundsState& cache, SolverOperation& ope
|
|
|
5064
5084
|
|| b.geometryOffset != 0 || b.shape != descriptor.kind || b.geometryCount != descriptor.count
|
|
5065
5085
|
|| b.geometryFormat != descriptor.format || b.geometryFeatureOffset != descriptor.featureOffset) return false;
|
|
5066
5086
|
}
|
|
5067
|
-
const auto chart = nativeBoundsChartKey(operation, b);
|
|
5068
5087
|
const auto same = [](double a, double b) {
|
|
5069
5088
|
return std::bit_cast<std::uint64_t>(a) == std::bit_cast<std::uint64_t>(b);
|
|
5070
5089
|
};
|
|
@@ -5082,26 +5101,36 @@ bool matchingBodyBounds(const CachedBodyBoundsState& cache, SolverOperation& ope
|
|
|
5082
5101
|
&& cache.geometryCount == b.geometryCount && cache.geometryFormat == b.geometryFormat;
|
|
5083
5102
|
}
|
|
5084
5103
|
|
|
5104
|
+
inline bool matchingBodyBounds(const CachedBodyBoundsState& cache, SolverOperation& operation, const Body& b) {
|
|
5105
|
+
return matchingBodyBounds(cache, operation, b, nativeBoundsChartKey(operation, b));
|
|
5106
|
+
}
|
|
5107
|
+
|
|
5085
5108
|
class FixedDynamicAabbTree {
|
|
5086
5109
|
public:
|
|
5087
5110
|
const BroadphaseBounds* readBounds(SolverOperation& operation, const Body& body) const {
|
|
5088
5111
|
const auto index = denseBodyIndex(operation, body);
|
|
5089
|
-
if (!index || *index >= cachedBounds.size() || *index >= actualBounds.size()
|
|
5090
|
-
|
|
5112
|
+
if (!index || *index >= cachedBounds.size() || *index >= actualBounds.size()) return nullptr;
|
|
5113
|
+
const auto chart = nativeBoundsChartKeyAt(operation, static_cast<std::uint32_t>(*index));
|
|
5114
|
+
if (!matchingBodyBounds(cachedBounds[*index], operation, body, chart)) return nullptr;
|
|
5091
5115
|
return &actualBounds[*index];
|
|
5092
5116
|
}
|
|
5093
5117
|
|
|
5094
5118
|
const BroadphaseBounds& computeOrReadBounds(SolverOperation& operation, const Body& b, std::uint32_t index) {
|
|
5095
5119
|
CachedBodyBoundsState& cache = cachedBounds[index];
|
|
5096
|
-
const auto
|
|
5120
|
+
const auto* chartPtr = nativeTickChartAt(operation, index);
|
|
5121
|
+
const auto chart = chartPtr != nullptr ? std::optional<std::array<double, 6>>{{
|
|
5122
|
+
chartPtr->anchor[0], chartPtr->anchor[1], chartPtr->anchor[2],
|
|
5123
|
+
chartPtr->displacement[0], chartPtr->displacement[1], chartPtr->displacement[2]
|
|
5124
|
+
}} : std::nullopt;
|
|
5097
5125
|
const double x = chart ? (*chart)[0] : b.x;
|
|
5098
5126
|
const double y = chart ? (*chart)[1] : b.y;
|
|
5099
5127
|
const double z = chart ? (*chart)[2] : b.z;
|
|
5100
5128
|
const std::array<double, 3> displacement = chart
|
|
5101
5129
|
? std::array<double, 3>{(*chart)[3], (*chart)[4], (*chart)[5]} : std::array<double, 3>{};
|
|
5102
5130
|
const bool nonStatic = b.dynamic || b.kinematic;
|
|
5103
|
-
if (matchingBodyBounds(cache, operation, b)) return actualBounds[index];
|
|
5104
|
-
|
|
5131
|
+
if (matchingBodyBounds(cache, operation, b, chart)) return actualBounds[index];
|
|
5132
|
+
NativeCompoundBoxCoefficients* coeff = index < cachedCoefficients.size() ? &cachedCoefficients[index] : nullptr;
|
|
5133
|
+
const BroadphaseBounds actual = bodyBounds(operation, b, chartPtr, coeff);
|
|
5105
5134
|
actualBounds[index] = actual;
|
|
5106
5135
|
cache.charted = chart.has_value();
|
|
5107
5136
|
cache.displacement = displacement;
|
|
@@ -5131,6 +5160,7 @@ public:
|
|
|
5131
5160
|
void prepare(std::uint32_t count, std::span<std::uint32_t> first, std::span<std::uint32_t> second) {
|
|
5132
5161
|
if (actualBounds.size() < count) actualBounds.resize(count);
|
|
5133
5162
|
if (cachedBounds.size() < count) cachedBounds.resize(count);
|
|
5163
|
+
if (cachedCoefficients.size() < count) cachedCoefficients.resize(count);
|
|
5134
5164
|
if (queryMatches.size() < count) queryMatches.resize(count);
|
|
5135
5165
|
if (nodes.size() < static_cast<std::size_t>(count) * 2) nodes.resize(static_cast<std::size_t>(count) * 2);
|
|
5136
5166
|
if (leafNodes.size() < count) leafNodes.resize(count);
|
|
@@ -5152,6 +5182,9 @@ public:
|
|
|
5152
5182
|
for (std::uint32_t index = 0; index < count && index < cachedBounds.size(); ++index) {
|
|
5153
5183
|
cachedBounds[index].valid = false;
|
|
5154
5184
|
}
|
|
5185
|
+
for (std::uint32_t index = 0; index < count && index < cachedCoefficients.size(); ++index) {
|
|
5186
|
+
cachedCoefficients[index].invalidate();
|
|
5187
|
+
}
|
|
5155
5188
|
}
|
|
5156
5189
|
|
|
5157
5190
|
void rebuild(std::span<const BroadphaseBounds> bounds) {
|
|
@@ -5204,14 +5237,19 @@ public:
|
|
|
5204
5237
|
for (std::uint32_t index = 0; index < count; index += 1) {
|
|
5205
5238
|
const Body& b = bodies[index];
|
|
5206
5239
|
CachedBodyBoundsState& cache = cachedBounds[index];
|
|
5207
|
-
const auto
|
|
5240
|
+
const auto* chartPtr = nativeTickChartAt(operation, index);
|
|
5241
|
+
const auto chart = chartPtr != nullptr ? std::optional<std::array<double, 6>>{{
|
|
5242
|
+
chartPtr->anchor[0], chartPtr->anchor[1], chartPtr->anchor[2],
|
|
5243
|
+
chartPtr->displacement[0], chartPtr->displacement[1], chartPtr->displacement[2]
|
|
5244
|
+
}} : std::nullopt;
|
|
5208
5245
|
const double x = chart ? (*chart)[0] : b.x;
|
|
5209
5246
|
const double y = chart ? (*chart)[1] : b.y;
|
|
5210
5247
|
const double z = chart ? (*chart)[2] : b.z;
|
|
5211
5248
|
const std::array<double, 3> displacement = chart
|
|
5212
5249
|
? std::array<double, 3>{(*chart)[3], (*chart)[4], (*chart)[5]} : std::array<double, 3>{};
|
|
5213
|
-
if (matchingBodyBounds(cache, operation, b)) continue;
|
|
5214
|
-
|
|
5250
|
+
if (matchingBodyBounds(cache, operation, b, chart)) continue;
|
|
5251
|
+
NativeCompoundBoxCoefficients* coeff = index < cachedCoefficients.size() ? &cachedCoefficients[index] : nullptr;
|
|
5252
|
+
const BroadphaseBounds actual = bodyBounds(operation, b, chartPtr, coeff);
|
|
5215
5253
|
actualBounds[index] = actual;
|
|
5216
5254
|
cache.charted = chart.has_value();
|
|
5217
5255
|
cache.displacement = displacement;
|
|
@@ -5246,9 +5284,14 @@ public:
|
|
|
5246
5284
|
for (std::uint32_t index = 0; index < count; index += 1) {
|
|
5247
5285
|
const Body& b = bodies[index];
|
|
5248
5286
|
const bool nonStatic = b.dynamic || b.kinematic;
|
|
5249
|
-
const
|
|
5287
|
+
const auto* chartPtr = nativeTickChartAt(operation, index);
|
|
5288
|
+
NativeCompoundBoxCoefficients* coeff = index < cachedCoefficients.size() ? &cachedCoefficients[index] : nullptr;
|
|
5289
|
+
const BroadphaseBounds actual = bodyBounds(operation, b, chartPtr, coeff);
|
|
5250
5290
|
actualBounds[index] = actual;
|
|
5251
|
-
const auto chart =
|
|
5291
|
+
const auto chart = chartPtr != nullptr ? std::optional<std::array<double, 6>>{{
|
|
5292
|
+
chartPtr->anchor[0], chartPtr->anchor[1], chartPtr->anchor[2],
|
|
5293
|
+
chartPtr->displacement[0], chartPtr->displacement[1], chartPtr->displacement[2]
|
|
5294
|
+
}} : std::nullopt;
|
|
5252
5295
|
cachedBounds[index] = {
|
|
5253
5296
|
chart ? std::array<double, 3>{(*chart)[3], (*chart)[4], (*chart)[5]} : std::array<double, 3>{},
|
|
5254
5297
|
chart ? (*chart)[0] : b.x, chart ? (*chart)[1] : b.y, chart ? (*chart)[2] : b.z,
|
|
@@ -5682,6 +5725,7 @@ private:
|
|
|
5682
5725
|
|
|
5683
5726
|
std::vector<BroadphaseBounds> actualBounds;
|
|
5684
5727
|
std::vector<CachedBodyBoundsState> cachedBounds;
|
|
5728
|
+
std::vector<NativeCompoundBoxCoefficients> cachedCoefficients;
|
|
5685
5729
|
std::vector<std::uint32_t> queryMatches;
|
|
5686
5730
|
std::vector<DynamicAabbTreeNode> nodes;
|
|
5687
5731
|
std::vector<std::int32_t> leafNodes;
|
|
@@ -7403,9 +7447,10 @@ Collision collideFeatures(SolverOperation& operation, const Body& a, const Body&
|
|
|
7403
7447
|
Collision best;
|
|
7404
7448
|
std::int32_t bestChild = -1;
|
|
7405
7449
|
|
|
7450
|
+
NativeCompoundBoxCoefficients aBoxCoefficients;
|
|
7406
7451
|
for (std::uint32_t child = 0; child < aChildCount; child += 1) {
|
|
7407
7452
|
const Body childBody = compoundChildBody(operation, a, child);
|
|
7408
|
-
const BroadphaseBounds childBounds = queryProxyBounds(operation, childBody);
|
|
7453
|
+
const BroadphaseBounds childBounds = queryProxyBounds(operation, childBody, &aBoxCoefficients);
|
|
7409
7454
|
if (!boundsOverlap(childBounds, boundsB)) continue;
|
|
7410
7455
|
|
|
7411
7456
|
Collision candidate;
|
|
@@ -7415,9 +7460,10 @@ Collision collideFeatures(SolverOperation& operation, const Body& a, const Body&
|
|
|
7415
7460
|
&& !(childBody.shape == ShapeKind::Capsule && b.geometryFormat == 5)) {
|
|
7416
7461
|
if (!bChildrenMaterialized) {
|
|
7417
7462
|
if (bChildrenOnHeap) bHeapChildren.reserve(bChildCount);
|
|
7463
|
+
NativeCompoundBoxCoefficients bBoxCoefficients;
|
|
7418
7464
|
for (std::uint32_t childB = 0; childB < bChildCount; childB += 1) {
|
|
7419
7465
|
const Body childBodyB = compoundChildBody(operation, b, childB);
|
|
7420
|
-
const BroadphaseBounds childBoundsB = queryProxyBounds(operation, childBodyB);
|
|
7466
|
+
const BroadphaseBounds childBoundsB = queryProxyBounds(operation, childBodyB, &bBoxCoefficients);
|
|
7421
7467
|
const PrecomputedCompoundChild entry{childBodyB, childBoundsB, boundsOverlap(childBoundsB, boundsA)};
|
|
7422
7468
|
if (bChildrenOnHeap) bHeapChildren.push_back(entry);
|
|
7423
7469
|
else bStackChildren.push_back(entry);
|
|
@@ -11607,7 +11653,8 @@ RayHit rayGeometry(SolverOperation& operation, const Body& body, const Vec3& ori
|
|
|
11607
11653
|
return {};
|
|
11608
11654
|
}
|
|
11609
11655
|
|
|
11610
|
-
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body
|
|
11656
|
+
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body,
|
|
11657
|
+
NativeCompoundBoxCoefficients* boxCoefficients);
|
|
11611
11658
|
|
|
11612
11659
|
RayHit rayBody(SolverOperation& operation, const Body& body, const Vec3& origin, const Vec3& direction, double maxDistance) {
|
|
11613
11660
|
if (body.shape == ShapeKind::Sphere) return raySphere(body, origin, direction, maxDistance);
|
|
@@ -11716,13 +11763,15 @@ bool queryBodyAllowed(const Body& body, const double* queryData) {
|
|
|
11716
11763
|
return true;
|
|
11717
11764
|
}
|
|
11718
11765
|
|
|
11719
|
-
BroadphaseBounds readRawBodyBounds(SolverOperation& operation, const Body& body
|
|
11766
|
+
BroadphaseBounds readRawBodyBounds(SolverOperation& operation, const Body& body,
|
|
11767
|
+
NativeCompoundBoxCoefficients* boxCoefficients = nullptr) {
|
|
11720
11768
|
const auto* cached = operation.storage.broadphaseTree->readBounds(operation, body);
|
|
11721
|
-
return cached == nullptr ? bodyBounds(operation, body) : *cached;
|
|
11769
|
+
return cached == nullptr ? bodyBounds(operation, body, nullptr, boxCoefficients) : *cached;
|
|
11722
11770
|
}
|
|
11723
11771
|
|
|
11724
|
-
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body
|
|
11725
|
-
|
|
11772
|
+
BroadphaseBounds queryProxyBounds(SolverOperation& operation, const Body& body,
|
|
11773
|
+
NativeCompoundBoxCoefficients* boxCoefficients) {
|
|
11774
|
+
BroadphaseBounds bounds = readRawBodyBounds(operation, body, boxCoefficients);
|
|
11726
11775
|
constexpr double minimumHalfExtent = 1e-9;
|
|
11727
11776
|
const auto expand = [](double& low, double& high) {
|
|
11728
11777
|
if (high - low < minimumHalfExtent * 2.0) {
|
|
@@ -21,10 +21,10 @@ export const physicsProfileWasmMetadata = Object.freeze({
|
|
|
21
21
|
"compiler": "em++",
|
|
22
22
|
"emccVersion": "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 6.0.3-git",
|
|
23
23
|
"compilerVersion": "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 6.0.3-git",
|
|
24
|
-
"sourceHash": "
|
|
25
|
-
"wasmSha256": "
|
|
24
|
+
"sourceHash": "7fd93b9a434e7d631a59b79d512af594c01d9647387d4d03db0820842d86f2a7",
|
|
25
|
+
"wasmSha256": "809ac461e4eda8febc5e4ddd6e46056be200beef8c0a6079d3bbab66d5852f1e",
|
|
26
26
|
"artifact": "profile",
|
|
27
|
-
"packageVersion": "6.0.0-rc.
|
|
27
|
+
"packageVersion": "6.0.0-rc.76",
|
|
28
28
|
"compilerFlags": [
|
|
29
29
|
"-std=c++20",
|
|
30
30
|
"-O3",
|
|
@@ -44,7 +44,7 @@ export const physicsProfileWasmMetadata = Object.freeze({
|
|
|
44
44
|
"-sSTACK_SIZE=1048576",
|
|
45
45
|
"-sEXPORTED_FUNCTIONS=[\"_malloc\",\"_free\",\"_rundot_kinetix_ext_voxel_abi_version\",\"_rundot_kinetix_ext_voxel_child_stride\",\"_rundot_kinetix_ext_voxel_stats_stride\",\"_rundot_kinetix_ext_voxel_subchunk_stride\",\"_rundot_kinetix_ext_voxel_ray_hit_stride\",\"_rundot_kinetix_ext_voxel_seam_result_stride\",\"_rundot_kinetix_ext_voxel_mass_properties_stride\",\"_rundot_kinetix_ext_voxel_mass_properties\",\"_rundot_kinetix_ext_voxel_scratch_size\",\"_rundot_kinetix_ext_voxel_cook_chunk\",\"_rundot_kinetix_ext_voxel_carve\",\"_rundot_kinetix_ext_voxel_incremental_cook\",\"_rundot_kinetix_ext_voxel_split_components\",\"_rundot_kinetix_ext_voxel_incremental_slice\",\"_rundot_kinetix_ext_voxel_raycast_dda\",\"_rundot_kinetix_ext_voxel_seam_query\",\"_rundot_kinetix_world_abi_version\",\"_rundot_kinetix_numeric_environment_valid\",\"_rundot_kinetix_world_joint_warm_state_stride\",\"_rundot_kinetix_world_topology_abi_version\",\"_rundot_kinetix_world_topology_geometry_abi_version\",\"_rundot_kinetix_world_topology_geometry_command_stride\",\"_rundot_kinetix_world_topology_command_stride\",\"_rundot_kinetix_world_topology_result_stride\",\"_rundot_kinetix_world_topology_info_stride\",\"_rundot_kinetix_world_topology_max_commands\",\"_rundot_kinetix_world_topology_body_id_stride\",\"_rundot_kinetix_world_topology_joint_identity_stride\",\"_rundot_kinetix_world_topology_fluid_id_stride\",\"_rundot_kinetix_world_apply_topology_batch\",\"_rundot_kinetix_world_apply_topology_geometry_batch\",\"_rundot_kinetix_world_prepare_topology_edit\",\"_rundot_kinetix_world_copy_topology_edit_removed\",\"_rundot_kinetix_world_commit_topology_edit\",\"_rundot_kinetix_world_abandon_topology_edit\",\"_rundot_kinetix_world_body_geometry_info\",\"_rundot_kinetix_world_body_geometry_digest\",\"_rundot_kinetix_world_set_contact_groups\",\"_rundot_kinetix_world_copy_body_geometry\",\"_rundot_kinetix_world_topology_info\",\"_rundot_kinetix_world_copy_topology\",\"_rundot_kinetix_world_body_exists\",\"_rundot_kinetix_world_joint_exists\",\"_rundot_kinetix_world_fluid_exists\",\"_rundot_kinetix_world_read_body\",\"_rundot_kinetix_world_install_contact_materials\",\"_rundot_kinetix_world_read_material_name\",\"_rundot_kinetix_world_read_body_material\",\"_rundot_kinetix_world_resolve_contact_material\",\"_rundot_kinetix_world_read_joint\",\"_rundot_kinetix_world_read_fluid\",\"_rundot_kinetix_world_contact_output_info\",\"_rundot_kinetix_world_copy_contact_output\",\"_rundot_kinetix_world_copy_contact_material_output\",\"_rundot_kinetix_world_joint_output_info\",\"_rundot_kinetix_world_copy_joint_output\",\"_rundot_kinetix_world_fluid_interaction_info\",\"_rundot_kinetix_world_copy_fluid_interactions\",\"_rundot_kinetix_world_max_handles\",\"_rundot_kinetix_world_buffer_allocate\",\"_rundot_kinetix_world_buffer_free\",\"_rundot_kinetix_world_create\",\"_rundot_kinetix_instance_ledger_info\",\"_rundot_kinetix_instance_ledger_metadata\",\"_rundot_kinetix_instance_ledger_classes\",\"_rundot_kinetix_instance_ledger_reset_high_water\",\"_rundot_kinetix_world_attach\",\"_rundot_kinetix_world_capture_cache_bytes\",\"_rundot_kinetix_world_checkpoint_capacity\",\"_rundot_kinetix_world_checkpoint_capture_snapshot_token\",\"_rundot_kinetix_world_checkpoint_capture_token\",\"_rundot_kinetix_world_checkpoint_legacy_preflight\",\"_rundot_kinetix_world_checkpoint_live_count\",\"_rundot_kinetix_world_checkpoint_preflight\",\"_rundot_kinetix_world_checkpoint_release_token\",\"_rundot_kinetix_world_checkpoint_restore_token\",\"_rundot_kinetix_world_create_with_checkpoint_capacity\",\"_rundot_kinetix_world_detach\",\"_rundot_kinetix_world_import_snapshot_attached\",\"_rundot_kinetix_world_ownership_counts\",\"_rundot_kinetix_world_revision\",\"_rundot_kinetix_world_destroy\",\"_rundot_kinetix_world_digest\",\"_rundot_kinetix_world_digest_algorithm_revision\",\"_rundot_kinetix_world_checkpoint_digest\",\"_rundot_kinetix_world_checkpoint_strong_digest\",\"_rundot_kinetix_world_checkpoint_strong_digest_token\",\"_rundot_kinetix_world_strong_digest_algorithm_revision\",\"_rundot_kinetix_world_checkpoint_digest_token\",\"_rundot_kinetix_world_checkpoint_view_info\",\"_rundot_kinetix_world_checkpoint_view_info_token\",\"_rundot_kinetix_world_checkpoint_write_body_motion_into\",\"_rundot_kinetix_world_checkpoint_write_body_motion_into_token\",\"_rundot_kinetix_world_checkpoint_copy_latest_output\",\"_rundot_kinetix_world_checkpoint_copy_latest_output_token\",\"_rundot_kinetix_world_checkpoint_import\",\"_rundot_kinetix_world_checkpoint_import_token\",\"_rundot_kinetix_world_frame\",\"_rundot_kinetix_world_replace_state\",\"_rundot_kinetix_world_step\",\"_rundot_kinetix_world_apply_impulse\",\"_rundot_kinetix_world_set_body_force\",\"_rundot_kinetix_world_apply_force\",\"_rundot_kinetix_world_apply_force_at_point\",\"_rundot_kinetix_world_clear_body_force\",\"_rundot_kinetix_world_set_body_surface_velocity\",\"_rundot_kinetix_world_max_support_records\",\"_rundot_kinetix_world_apply_support\",\"_rundot_kinetix_world_read_surface_velocity\",\"_rundot_kinetix_world_read_body_mobility\",\"_rundot_kinetix_world_read_pending_support_impulse\",\"_rundot_kinetix_world_set_body_linear_velocity\",\"_rundot_kinetix_world_set_body_angular_velocity\",\"_rundot_kinetix_world_set_body_transform\",\"_rundot_kinetix_world_set_body_linear_damping\",\"_rundot_kinetix_world_wake_body\",\"_rundot_kinetix_world_write_body_motion\",\"_rundot_kinetix_world_motion_pose_stride\",\"_rundot_kinetix_world_motion_velocity_stride\",\"_rundot_kinetix_world_motion_status_version\",\"_rundot_kinetix_world_motion_pose_value_limit\",\"_rundot_kinetix_world_motion_velocity_value_limit\",\"_rundot_kinetix_world_motion_id_word_limit\",\"_rundot_kinetix_world_motion_status_byte_limit\",\"_rundot_kinetix_physics_buoyancy\",\"_rundot_kinetix_physics_voxel_buoyancy\",\"_rundot_kinetix_physics_buoyancy_abi_version\",\"_rundot_kinetix_physics_buoyancy_input_stride\",\"_rundot_kinetix_physics_buoyancy_output_stride\",\"_rundot_kinetix_physics_fluid_abi_version\",\"_rundot_kinetix_physics_fluid_forces_input_stride\",\"_rundot_kinetix_physics_fluid_forces_output_stride\",\"_rundot_kinetix_physics_fluid_volume_input_stride\",\"_rundot_kinetix_physics_fluid_state_forces_input_stride\",\"_rundot_kinetix_physics_fluid_forces\",\"_rundot_kinetix_physics_fluid_state_forces\",\"_rundot_kinetix_physics_voxel_fluid_forces\",\"_rundot_kinetix_world_query\",\"_rundot_kinetix_world_query_body_ray\",\"_rundot_kinetix_world_query_ray_batch\",\"_rundot_kinetix_world_periodic_domain\",\"_rundot_kinetix_world_query_images\",\"_rundot_kinetix_world_query_ray_batch_images\",\"_rundot_kinetix_world_read_support_contexts\",\"_rundot_kinetix_world_set_contact_exclusions\",\"_rundot_kinetix_world_set_contact_rules\",\"_rundot_kinetix_world_set_query_hidden_bodies\",\"_rundot_kinetix_world_set_query_index\",\"_rundot_kinetix_world_last_query_stats\",\"_rundot_kinetix_world_state_info\",\"_rundot_kinetix_world_copy_state\",\"_rundot_kinetix_world_capture_snapshot\",\"_rundot_kinetix_world_import_snapshot\",\"_rundot_kinetix_world_checkpoint_capture\",\"_rundot_kinetix_world_checkpoint_restore\",\"_rundot_kinetix_world_checkpoint_release\",\"_rundot_kinetix_world_checkpoint_capture_snapshot\",\"_rundot_kinetix_world_error_size\",\"_rundot_kinetix_world_error_command_index\",\"_rundot_kinetix_world_copy_error\",\"_rundot_kinetix_physics_abi_version\",\"_rundot_kinetix_physics_body_stride\",\"_rundot_kinetix_physics_set_geometry\",\"_rundot_kinetix_physics_set_contact_cache\",\"_rundot_kinetix_physics_set_external_forces\",\"_rundot_kinetix_physics_contact_count\",\"_rundot_kinetix_physics_contact_data\",\"_rundot_kinetix_physics_contact_cache_count\",\"_rundot_kinetix_physics_contact_cache_data\",\"_rundot_kinetix_physics_joint_count\",\"_rundot_kinetix_physics_joint_data\",\"_rundot_kinetix_physics_query_count\",\"_rundot_kinetix_physics_query_data\",\"_rundot_kinetix_physics_step\",\"_rundot_kinetix_physics_step_v2\",\"_rundot_kinetix_physics_step_v3\",\"_rundot_kinetix_physics_step_with_joints\",\"_rundot_kinetix_physics_step_with_joints_v2\",\"_rundot_kinetix_physics_step_with_joints_v3\",\"_rundot_kinetix_physics_apply_impulses\",\"_rundot_kinetix_physics_raycast\",\"_rundot_kinetix_physics_overlap\",\"_rundot_kinetix_physics_shape_cast\",\"_rundot_kinetix_ext_abi_version\",\"_rundot_kinetix_ext_gear_config_stride\",\"_rundot_kinetix_ext_gear_state_stride\",\"_rundot_kinetix_ext_gear_telemetry_stride\",\"_rundot_kinetix_ext_gear_stride\",\"_rundot_kinetix_ext_gear_size\",\"_rundot_kinetix_ext_gear_solve\",\"_rundot_kinetix_ext_gear_step\",\"_rundot_kinetix_ext_pulley_config_stride\",\"_rundot_kinetix_ext_pulley_state_stride\",\"_rundot_kinetix_ext_pulley_geometry_stride\",\"_rundot_kinetix_ext_pulley_stride\",\"_rundot_kinetix_ext_pulley_size\",\"_rundot_kinetix_ext_pulley_solve\",\"_rundot_kinetix_ext_pulley_compute_geometry\",\"_rundot_kinetix_ext_path_joint_stride\",\"_rundot_kinetix_ext_path_joint_sample_stride\",\"_rundot_kinetix_ext_path_joint_control_point_stride\",\"_rundot_kinetix_ext_path_joint_size\",\"_rundot_kinetix_ext_path_joint_cook\",\"_rundot_kinetix_ext_path_joint_sample\",\"_rundot_kinetix_ext_path_joint_closest_arc_length\",\"_rundot_kinetix_ext_path_joint_solve\",\"_rundot_kinetix_ext_particles_particle_stride\",\"_rundot_kinetix_ext_particles_emitter_stride\",\"_rundot_kinetix_ext_particles_params_stride\",\"_rundot_kinetix_ext_particles_max_capacity\",\"_rundot_kinetix_ext_particles_max_emitters\",\"_rundot_kinetix_ext_particles_stride\",\"_rundot_kinetix_ext_particles_size\",\"_rundot_kinetix_ext_particles_step\",\"_rundot_kinetix_ext_particles_emit\",\"_rundot_kinetix_ext_particles_reset\",\"_rundot_kinetix_ext_ragdoll_bone_stride\",\"_rundot_kinetix_ext_ragdoll_transform_stride\",\"_rundot_kinetix_ext_ragdoll_body_stride\",\"_rundot_kinetix_ext_ragdoll_joint_stride\",\"_rundot_kinetix_ext_ragdoll_max_bones\",\"_rundot_kinetix_ext_ragdoll_max_joints\",\"_rundot_kinetix_ext_ragdoll_max_filter_pairs\",\"_rundot_kinetix_ext_ragdoll_stride\",\"_rundot_kinetix_ext_ragdoll_size\",\"_rundot_kinetix_ext_ragdoll_construct\",\"_rundot_kinetix_ext_ragdoll_forward_kinematics\",\"_rundot_kinetix_ext_ragdoll_inverse_kinematics\",\"_rundot_kinetix_ext_ragdoll_constrain_pose\",\"_rundot_kinetix_ext_powertrain_config_stride\",\"_rundot_kinetix_ext_powertrain_state_stride\",\"_rundot_kinetix_ext_powertrain_input_stride\",\"_rundot_kinetix_ext_powertrain_wheel_state_stride\",\"_rundot_kinetix_ext_powertrain_wheel_output_stride\",\"_rundot_kinetix_ext_powertrain_max_wheels\",\"_rundot_kinetix_ext_powertrain_max_gears\",\"_rundot_kinetix_ext_powertrain_stride\",\"_rundot_kinetix_ext_powertrain_size\",\"_rundot_kinetix_ext_powertrain_step\",\"_rundot_kinetix_ext_powertrain_sample_engine_curve\",\"_rundot_kinetix_ext_rounded_convex_sphere_stride\",\"_rundot_kinetix_ext_rounded_convex_vertex_stride\",\"_rundot_kinetix_ext_rounded_convex_pose_stride\",\"_rundot_kinetix_ext_rounded_convex_direction_stride\",\"_rundot_kinetix_ext_rounded_convex_support_stride\",\"_rundot_kinetix_ext_rounded_convex_collision_stride\",\"_rundot_kinetix_ext_rounded_convex_mass_properties_stride\",\"_rundot_kinetix_ext_rounded_convex_ray_stride\",\"_rundot_kinetix_ext_rounded_convex_rayhit_stride\",\"_rundot_kinetix_ext_rounded_convex_max_spheres\",\"_rundot_kinetix_ext_rounded_convex_max_vertices\",\"_rundot_kinetix_ext_rounded_convex_input_stride\",\"_rundot_kinetix_ext_rounded_convex_output_stride\",\"_rundot_kinetix_ext_rounded_convex_stride\",\"_rundot_kinetix_ext_rounded_convex_size\",\"_rundot_kinetix_ext_rounded_convex_support\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_support\",\"_rundot_kinetix_ext_rounded_convex_collide\",\"_rundot_kinetix_ext_rounded_convex_collision\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_collide\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_collision\",\"_rundot_kinetix_ext_rounded_convex_compute_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_compute_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_raycast\",\"_rundot_kinetix_ext_surface_velocity_record_stride\",\"_rundot_kinetix_ext_surface_velocity_rule_stride\",\"_rundot_kinetix_ext_surface_velocity_properties_stride\",\"_rundot_kinetix_ext_surface_velocity_stride\",\"_rundot_kinetix_ext_surface_velocity_size\",\"_rundot_kinetix_ext_surface_velocity_evaluate_rules\",\"_rundot_kinetix_ext_surface_velocity_solve_conveyor_friction\",\"_rundot_kinetix_ext_surface_velocity_solve_friction\",\"_rundot_kinetix_ext_contact_material_record_version\",\"_rundot_kinetix_ext_contact_material_record_double_stride\",\"_rundot_kinetix_ext_contact_material_rule_double_stride\",\"_rundot_kinetix_ext_contact_material_result_double_stride\",\"_rundot_kinetix_ext_resolve_contact_material\",\"_rundot_kinetix_ext_serialize_contact_material_rules_versioned\",\"_rundot_kinetix_ext_deserialize_contact_material_rules_versioned\",\"_rundot_kinetix_ext_deformables_abi_version\",\"_rundot_kinetix_ext_cloth_node_stride\",\"_rundot_kinetix_ext_cloth_stretch_stride\",\"_rundot_kinetix_ext_cloth_shear_stride\",\"_rundot_kinetix_ext_cloth_bend_stride\",\"_rundot_kinetix_ext_cloth_face_stride\",\"_rundot_kinetix_ext_cloth_pin_stride\",\"_rundot_kinetix_ext_cloth_tether_stride\",\"_rundot_kinetix_ext_cloth_params_stride\",\"_rundot_kinetix_ext_cloth_max_nodes\",\"_rundot_kinetix_ext_cloth_max_faces\",\"_rundot_kinetix_ext_cloth_max_pins\",\"_rundot_kinetix_ext_cloth_stride\",\"_rundot_kinetix_ext_cloth_size\",\"_rundot_kinetix_ext_cloth_step\",\"_rundot_kinetix_ext_cloth_probe_size\",\"_rundot_kinetix_ext_cloth_probe\",\"_rundot_kinetix_ext_soft_body_abi_version\",\"_rundot_kinetix_ext_soft_body_node_stride\",\"_rundot_kinetix_ext_soft_body_tet_stride\",\"_rundot_kinetix_ext_soft_body_face_stride\",\"_rundot_kinetix_ext_soft_body_edge_stride\",\"_rundot_kinetix_ext_soft_body_anchor_stride\",\"_rundot_kinetix_ext_soft_body_params_stride\",\"_rundot_kinetix_ext_soft_body_max_nodes\",\"_rundot_kinetix_ext_soft_body_max_tetrahedra\",\"_rundot_kinetix_ext_soft_body_max_edges\",\"_rundot_kinetix_ext_soft_body_max_faces\",\"_rundot_kinetix_ext_soft_body_size\",\"_rundot_kinetix_ext_soft_body_step\",\"_rundot_kinetix_ext_soft_body_compute_volume\",\"_rundot_kinetix_ext_soft_body_solve_volume\",\"_rundot_kinetix_ext_soft_body_apply_pressure\",\"_rundot_kinetix_ext_soft_body_handle_inversion\",\"_rundot_kinetix_ext_soft_body_probe_size\",\"_rundot_kinetix_ext_soft_body_probe\",\"_rundot_kinetix_ext_soft_collision_abi_version\",\"_rundot_kinetix_ext_soft_node_stride\",\"_rundot_kinetix_ext_soft_face_stride\",\"_rundot_kinetix_ext_soft_body_stride\",\"_rundot_kinetix_ext_soft_params_stride\",\"_rundot_kinetix_ext_soft_rigid_contact_stride\",\"_rundot_kinetix_ext_soft_soft_contact_stride\",\"_rundot_kinetix_ext_soft_sensor_event_stride\",\"_rundot_kinetix_ext_soft_raycast_query_stride\",\"_rundot_kinetix_ext_soft_raycast_hit_stride\",\"_rundot_kinetix_ext_soft_overlap_query_stride\",\"_rundot_kinetix_ext_soft_overlap_hit_stride\",\"_rundot_kinetix_ext_soft_closest_point_query_stride\",\"_rundot_kinetix_ext_soft_closest_point_result_stride\",\"_rundot_kinetix_ext_soft_max_nodes\",\"_rundot_kinetix_ext_soft_max_faces\",\"_rundot_kinetix_ext_soft_max_bodies\",\"_rundot_kinetix_ext_soft_max_contacts\",\"_rundot_kinetix_ext_soft_max_sensor_events\",\"_rundot_kinetix_ext_soft_max_exclusions\",\"_rundot_kinetix_ext_soft_stride\",\"_rundot_kinetix_ext_soft_size\",\"_rundot_kinetix_ext_soft_collision_stride\",\"_rundot_kinetix_ext_soft_collision_size\",\"_rundot_kinetix_ext_soft_rigid_solve\",\"_rundot_kinetix_ext_soft_soft_solve\",\"_rundot_kinetix_ext_soft_step\",\"_rundot_kinetix_ext_soft_raycast\",\"_rundot_kinetix_ext_soft_overlap_sphere\",\"_rundot_kinetix_ext_soft_overlap_aabb\",\"_rundot_kinetix_ext_soft_closest_point\",\"_rundot_kinetix_ext_fracture_abi_version\",\"_rundot_kinetix_ext_fracture_vertex_stride\",\"_rundot_kinetix_ext_fracture_constraint_stride\",\"_rundot_kinetix_ext_fracture_face_stride\",\"_rundot_kinetix_ext_fracture_event_stride\",\"_rundot_kinetix_ext_fracture_audit_stride\",\"_rundot_kinetix_ext_fracture_snapshot_header_stride\",\"_rundot_kinetix_ext_fracture_cutting_tool_stride\",\"_rundot_kinetix_ext_fracture_params_stride\",\"_rundot_kinetix_ext_fracture_max_vertices\",\"_rundot_kinetix_ext_fracture_max_constraints\",\"_rundot_kinetix_ext_fracture_max_faces\",\"_rundot_kinetix_ext_fracture_max_events\",\"_rundot_kinetix_ext_fracture_max_fragments\",\"_rundot_kinetix_ext_fracture_stride\",\"_rundot_kinetix_ext_fracture_size\",\"_rundot_kinetix_ext_fracture_create_grid\",\"_rundot_kinetix_ext_fracture_step\",\"_rundot_kinetix_ext_fracture_cut\",\"_rundot_kinetix_ext_fracture_tear_constraint\",\"_rundot_kinetix_ext_fracture_split_vertex\",\"_rundot_kinetix_ext_fracture_find_components\",\"_rundot_kinetix_ext_fracture_audit_mass\",\"_rundot_kinetix_ext_fracture_capture_snapshot\",\"_rundot_kinetix_ext_fracture_restore_snapshot\",\"_rundot_kinetix_ext_sdf_abi_version\",\"_rundot_kinetix_ext_custom_geometry_abi_version\",\"_rundot_kinetix_ext_sdf_grid_desc_stride\",\"_rundot_kinetix_ext_sdf_pose_stride\",\"_rundot_kinetix_ext_sdf_query_input_stride\",\"_rundot_kinetix_ext_sdf_query_output_stride\",\"_rundot_kinetix_ext_sdf_collision_stride\",\"_rundot_kinetix_ext_sdf_ray_stride\",\"_rundot_kinetix_ext_sdf_rayhit_stride\",\"_rundot_kinetix_ext_custom_geometry_desc_stride\",\"_rundot_kinetix_ext_sdf_stride\",\"_rundot_kinetix_ext_sdf_size\",\"_rundot_kinetix_ext_custom_geometry_stride\",\"_rundot_kinetix_ext_custom_geometry_size\",\"_rundot_kinetix_ext_sdf_cook_primitive\",\"_rundot_kinetix_ext_sdf_cook_csg\",\"_rundot_kinetix_ext_sdf_compute_conservative_bounds\",\"_rundot_kinetix_ext_sdf_sample\",\"_rundot_kinetix_ext_sdf_raycast\",\"_rundot_kinetix_ext_sdf_collide_sphere\",\"_rundot_kinetix_ext_sdf_collide_capsule\",\"_rundot_kinetix_ext_sdf_collide_box\",\"_rundot_kinetix_ext_sdf_collide_particles\",\"_rundot_kinetix_ext_custom_geometry_bounds\",\"_rundot_kinetix_ext_custom_geometry_evaluate\",\"_rundot_kinetix_ext_custom_geometry_raycast\",\"_rundot_kinetix_ext_deformable_abi_version\",\"_rundot_kinetix_ext_deformable_snapshot_version\",\"_rundot_kinetix_ext_deformable_node_stride\",\"_rundot_kinetix_ext_deformable_triangle_stride\",\"_rundot_kinetix_ext_deformable_tetra_stride\",\"_rundot_kinetix_ext_deformable_constraint_stride\",\"_rundot_kinetix_ext_deformable_contact_stride\",\"_rundot_kinetix_ext_deformable_pressure_stride\",\"_rundot_kinetix_ext_deformable_ray_query_stride\",\"_rundot_kinetix_ext_deformable_ray_hit_stride\",\"_rundot_kinetix_ext_deformable_overlap_query_stride\",\"_rundot_kinetix_ext_deformable_overlap_result_stride\",\"_rundot_kinetix_ext_deformable_sweep_query_stride\",\"_rundot_kinetix_ext_deformable_sweep_hit_stride\",\"_rundot_kinetix_ext_deformable_snapshot_header_size\",\"_rundot_kinetix_ext_deformable_stride\",\"_rundot_kinetix_ext_deformable_size\",\"_rundot_kinetix_ext_deformable_raycast\",\"_rundot_kinetix_ext_deformable_overlap\",\"_rundot_kinetix_ext_deformable_sweep\",\"_rundot_kinetix_ext_deformable_closest_point\",\"_rundot_kinetix_ext_deformable_snapshot_size\",\"_rundot_kinetix_ext_deformable_capture_snapshot\",\"_rundot_kinetix_ext_deformable_restore_snapshot\",\"_rundot_kinetix_ext_deformable_verify_snapshot\",\"_rundot_kinetix_ext_deformable_compute_bounds\",\"_rundot_kinetix_ext_deformable_compute_volume\",\"_rundot_kinetix_ext_d18_abi_version\",\"_rundot_kinetix_ext_d18_node_stride\",\"_rundot_kinetix_ext_d18_segment_stride\",\"_rundot_kinetix_ext_d18_face_stride\",\"_rundot_kinetix_ext_d18_distance_constraint_stride\",\"_rundot_kinetix_ext_d18_bend_constraint_stride\",\"_rundot_kinetix_ext_d18_shear_constraint_stride\",\"_rundot_kinetix_ext_d18_area_constraint_stride\",\"_rundot_kinetix_ext_d18_anchor_stride\",\"_rundot_kinetix_ext_d18_particle_stride\",\"_rundot_kinetix_ext_d18_emitter_stride\",\"_rundot_kinetix_ext_d18_params_stride\",\"_rundot_kinetix_ext_d18_rigid_body_stride\",\"_rundot_kinetix_ext_d18_raycast_query_stride\",\"_rundot_kinetix_ext_d18_raycast_hit_stride\",\"_rundot_kinetix_ext_d18_closest_point_query_stride\",\"_rundot_kinetix_ext_d18_closest_point_hit_stride\",\"_rundot_kinetix_ext_d18_overlap_query_stride\",\"_rundot_kinetix_ext_d18_overlap_hit_stride\",\"_rundot_kinetix_ext_d18_world_size\",\"_rundot_kinetix_ext_d18_stride\",\"_rundot_kinetix_ext_d18_size\",\"_rundot_kinetix_ext_d18_step\",\"_rundot_kinetix_ext_d18_step_raw\",\"_rundot_kinetix_ext_d18_add_rope\",\"_rundot_kinetix_ext_d18_add_cloth_grid\",\"_rundot_kinetix_ext_d18_add_particle\",\"_rundot_kinetix_ext_d18_raycast\",\"_rundot_kinetix_ext_d18_closest_point\",\"_rundot_kinetix_ext_d18_overlap\",\"_rundot_kinetix_ext_d18_capture_snapshot\",\"_rundot_kinetix_ext_d18_restore_snapshot\",\"_rundot_kinetix_ext_d18_compute_mass_properties\",\"_rundot_kinetix_ext_planar_deformable_abi_version\",\"_rundot_kinetix_ext_planar_deformable_node_stride\",\"_rundot_kinetix_ext_planar_deformable_segment_stride\",\"_rundot_kinetix_ext_planar_deformable_face_stride\",\"_rundot_kinetix_ext_planar_deformable_distance_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_bend_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_shear_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_area_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_anchor_stride\",\"_rundot_kinetix_ext_planar_deformable_particle_stride\",\"_rundot_kinetix_ext_planar_deformable_emitter_stride\",\"_rundot_kinetix_ext_planar_deformable_params_stride\",\"_rundot_kinetix_ext_planar_deformable_rigid_body_stride\",\"_rundot_kinetix_ext_planar_deformable_raycast_query_stride\",\"_rundot_kinetix_ext_planar_deformable_raycast_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_closest_point_query_stride\",\"_rundot_kinetix_ext_planar_deformable_closest_point_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_overlap_query_stride\",\"_rundot_kinetix_ext_planar_deformable_overlap_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_world_size\",\"_rundot_kinetix_ext_planar_deformable_stride\",\"_rundot_kinetix_ext_planar_deformable_size\",\"_rundot_kinetix_ext_planar_deformable_step\",\"_rundot_kinetix_ext_planar_deformable_step_raw\",\"_rundot_kinetix_ext_planar_deformable_add_rope\",\"_rundot_kinetix_ext_planar_deformable_add_cloth_grid\",\"_rundot_kinetix_ext_planar_deformable_add_particle\",\"_rundot_kinetix_ext_planar_deformable_raycast\",\"_rundot_kinetix_ext_planar_deformable_closest_point\",\"_rundot_kinetix_ext_planar_deformable_overlap\",\"_rundot_kinetix_ext_planar_deformable_capture_snapshot\",\"_rundot_kinetix_ext_planar_deformable_restore_snapshot\",\"_rundot_kinetix_ext_planar_deformable_compute_mass_properties\",\"_rundot_kinetix_ext_characters_abi_version\",\"_rundot_kinetix_ext_powered_ragdoll_abi_version\",\"_rundot_kinetix_ext_powered_ragdoll_config_stride\",\"_rundot_kinetix_ext_powered_ragdoll_joint_config_stride\",\"_rundot_kinetix_ext_powered_ragdoll_joint_state_stride\",\"_rundot_kinetix_ext_powered_ragdoll_hit_stride\",\"_rundot_kinetix_ext_powered_ragdoll_transform_stride\",\"_rundot_kinetix_ext_powered_ragdoll_stride\",\"_rundot_kinetix_ext_powered_ragdoll_size\",\"_rundot_kinetix_ext_powered_ragdoll_max_bones\",\"_rundot_kinetix_ext_powered_ragdoll_max_joints\",\"_rundot_kinetix_ext_powered_ragdoll_state_size\",\"_rundot_kinetix_ext_powered_ragdoll_step\",\"_rundot_kinetix_ext_powered_ragdoll_apply_hit\",\"_rundot_kinetix_ext_powered_ragdoll_blend_pose\",\"_rundot_kinetix_ext_powered_ragdoll_recover_pose\",\"_rundot_kinetix_ext_powered_ragdoll_capture_state\",\"_rundot_kinetix_ext_powered_ragdoll_restore_state\",\"_rundot_kinetix_ext_voxel_abi_version\",\"_rundot_kinetix_ext_voxel_child_stride\",\"_rundot_kinetix_ext_voxel_stats_stride\",\"_rundot_kinetix_ext_voxel_subchunk_stride\",\"_rundot_kinetix_ext_voxel_ray_hit_stride\",\"_rundot_kinetix_ext_voxel_seam_result_stride\",\"_rundot_kinetix_ext_voxel_stride\",\"_rundot_kinetix_ext_voxel_size\",\"_rundot_kinetix_ext_voxel_max_dimension\",\"_rundot_kinetix_ext_voxel_scratch_size\",\"_rundot_kinetix_ext_voxel_cook_chunk\",\"_rundot_kinetix_ext_voxel_carve\",\"_rundot_kinetix_ext_voxel_incremental_cook\",\"_rundot_kinetix_ext_voxel_split_components\",\"_rundot_kinetix_ext_voxel_incremental_slice\",\"_rundot_kinetix_ext_voxel_raycast_dda\",\"_rundot_kinetix_ext_voxel_seam_query\",\"_rundot_kinetix_ext_k09_abi_version\",\"_rundot_kinetix_ext_k09_body_stride\",\"_rundot_kinetix_ext_k09_header_stride\",\"_rundot_kinetix_ext_k09_query_stride\",\"_rundot_kinetix_ext_k09_result_stride\",\"_rundot_kinetix_ext_k09_max_frames\",\"_rundot_kinetix_ext_k09_max_bodies\",\"_rundot_kinetix_ext_k09_max_results\",\"_rundot_kinetix_ext_lag_compensation_stride\",\"_rundot_kinetix_ext_lag_compensation_size\",\"_rundot_kinetix_ext_k09_stride\",\"_rundot_kinetix_ext_k09_size\",\"_rundot_kinetix_ext_k09_reset\",\"_rundot_kinetix_ext_k09_record_frame\",\"_rundot_kinetix_ext_k09_has_tick\",\"_rundot_kinetix_ext_k09_oldest_tick\",\"_rundot_kinetix_ext_k09_newest_tick\",\"_rundot_kinetix_ext_k09_frame_count\",\"_rundot_kinetix_ext_k09_query_topology\",\"_rundot_kinetix_ext_k09_query_body\",\"_rundot_kinetix_ext_k09_query_body_by_index\",\"_rundot_kinetix_ext_k09_query_filter\",\"_rundot_kinetix_ext_k09_query_geometry\",\"_rundot_kinetix_ext_k09_query_pose\",\"_rundot_kinetix_ext_k09_query_interpolated_pose\",\"_rundot_kinetix_ext_k09_rewind_scene\",\"_rundot_kinetix_ext_k09_rewind_scene_interpolated\",\"_rundot_kinetix_ext_k09_raycast\",\"_rundot_kinetix_ext_k09_overlap\",\"_rundot_kinetix_ext_k09_shapecast\",\"_rundot_kinetix_ext_lag_compensation_abi_version\",\"_rundot_kinetix_ext_lag_compensation_body_stride\",\"_rundot_kinetix_ext_lag_compensation_header_stride\",\"_rundot_kinetix_ext_lag_compensation_query_stride\",\"_rundot_kinetix_ext_lag_compensation_result_stride\",\"_rundot_kinetix_ext_lag_compensation_max_frames\",\"_rundot_kinetix_ext_lag_compensation_max_bodies\",\"_rundot_kinetix_ext_lag_compensation_max_results\",\"_rundot_kinetix_ext_lag_compensation_reset\",\"_rundot_kinetix_ext_lag_compensation_record_frame\",\"_rundot_kinetix_ext_lag_compensation_has_tick\",\"_rundot_kinetix_ext_lag_compensation_oldest_tick\",\"_rundot_kinetix_ext_lag_compensation_newest_tick\",\"_rundot_kinetix_ext_lag_compensation_frame_count\",\"_rundot_kinetix_ext_lag_compensation_query_topology\",\"_rundot_kinetix_ext_lag_compensation_query_body\",\"_rundot_kinetix_ext_lag_compensation_query_body_by_index\",\"_rundot_kinetix_ext_lag_compensation_query_filter\",\"_rundot_kinetix_ext_lag_compensation_query_geometry\",\"_rundot_kinetix_ext_lag_compensation_query_pose\",\"_rundot_kinetix_ext_lag_compensation_query_interpolated_pose\",\"_rundot_kinetix_ext_lag_compensation_rewind_scene\",\"_rundot_kinetix_ext_lag_compensation_rewind_scene_interpolated\",\"_rundot_kinetix_ext_lag_compensation_raycast\",\"_rundot_kinetix_ext_lag_compensation_overlap\",\"_rundot_kinetix_ext_lag_compensation_shapecast\",\"_rundot_kinetix_ext_articulation_abi_version\",\"_rundot_kinetix_ext_articulation_link_stride\",\"_rundot_kinetix_ext_articulation_joint_stride\",\"_rundot_kinetix_ext_articulation_state_stride\",\"_rundot_kinetix_ext_articulation_loop_stride\",\"_rundot_kinetix_ext_articulation_stride\",\"_rundot_kinetix_ext_articulation_size\",\"_rundot_kinetix_ext_articulation_max_links\",\"_rundot_kinetix_ext_articulation_max_dofs\",\"_rundot_kinetix_ext_articulation_max_loops\",\"_rundot_kinetix_ext_articulation_step\",\"_rundot_kinetix_ext_articulation_forward_kinematics\",\"_rundot_kinetix_ext_articulation_solve_loops\",\"_rundot_kinetix_ext_articulation_sync_bodies\",\"_rundot_kinetix_ext_vehicles_abi_version\",\"_rundot_kinetix_ext_tracks_abi_version\",\"_rundot_kinetix_ext_tracks_wheel_stride\",\"_rundot_kinetix_ext_tracks_track_config_stride\",\"_rundot_kinetix_ext_tracks_vehicle_config_stride\",\"_rundot_kinetix_ext_tracks_input_stride\",\"_rundot_kinetix_ext_tracks_state_stride\",\"_rundot_kinetix_ext_tracks_output_stride\",\"_rundot_kinetix_ext_tracks_max_wheels_per_track\",\"_rundot_kinetix_ext_tracks_max_tracks\",\"_rundot_kinetix_ext_tracks_stride\",\"_rundot_kinetix_ext_tracks_size\",\"_rundot_kinetix_ext_tracks_step_vehicle\",\"_rundot_kinetix_ext_tracks_step\",\"_rundot_kinetix_ext_tracks_evaluate_friction\",\"_rundot_kinetix_ext_tracks_differential_steering\",\"_rundot_kinetix_ext_motorcycle_abi_version\",\"_rundot_kinetix_ext_motorcycle_config_stride\",\"_rundot_kinetix_ext_motorcycle_input_stride\",\"_rundot_kinetix_ext_motorcycle_state_stride\",\"_rundot_kinetix_ext_motorcycle_output_stride\",\"_rundot_kinetix_ext_motorcycle_stride\",\"_rundot_kinetix_ext_motorcycle_size\",\"_rundot_kinetix_ext_motorcycle_step\",\"_rundot_kinetix_ext_motorcycle_lean_stability\",\"_rundot_kinetix_ext_motorcycle_countersteer\",\"_rundot_kinetix_ext_platformer2d_abi_version\",\"_rundot_kinetix_ext_platformer2d_state_stride\",\"_rundot_kinetix_ext_platformer2d_input_stride\",\"_rundot_kinetix_ext_platformer2d_config_stride\",\"_rundot_kinetix_ext_platformer2d_body_stride\",\"_rundot_kinetix_ext_platformer2d_event_stride\",\"_rundot_kinetix_ext_platformer2d_max_events\",\"_rundot_kinetix_ext_platformer2d_max_bodies\",\"_rundot_kinetix_ext_platformer2d_max_slide_iterations\",\"_rundot_kinetix_ext_platformer2d_stride\",\"_rundot_kinetix_ext_platformer2d_size\",\"_rundot_kinetix_ext_platformer2d_step\",\"_rundot_kinetix_ext_platformer2d_step_legacy\",\"_rundot_kinetix_ext_core_features_abi_version\",\"_rundot_kinetix_ext_character_abi_version\",\"_rundot_kinetix_ext_character_config_stride\",\"_rundot_kinetix_ext_character_config_size\",\"_rundot_kinetix_ext_character_input_stride\",\"_rundot_kinetix_ext_character_input_size\",\"_rundot_kinetix_ext_character_state_stride\",\"_rundot_kinetix_ext_character_state_size\",\"_rundot_kinetix_ext_character_hit_stride\",\"_rundot_kinetix_ext_character_hit_size\",\"_rundot_kinetix_ext_character_shape_stride\",\"_rundot_kinetix_ext_character_shape_size\",\"_rundot_kinetix_ext_character_stride\",\"_rundot_kinetix_ext_character_size\",\"_rundot_kinetix_ext_character_step\",\"_rundot_kinetix_ext_character_reset\",\"_rundot_kinetix_ext_character_init_config\",\"_rundot_kinetix_ext_character_init_state\",\"_rundot_kinetix_ext_distance_abi_version\",\"_rundot_kinetix_ext_distance_input_stride\",\"_rundot_kinetix_ext_distance_input_size\",\"_rundot_kinetix_ext_distance_options_stride\",\"_rundot_kinetix_ext_distance_options_size\",\"_rundot_kinetix_ext_distance_output_stride\",\"_rundot_kinetix_ext_distance_output_size\",\"_rundot_kinetix_ext_distance_result_stride\",\"_rundot_kinetix_ext_distance_result_size\",\"_rundot_kinetix_ext_distance_shape_stride\",\"_rundot_kinetix_ext_distance_shape_size\",\"_rundot_kinetix_ext_distance_stride\",\"_rundot_kinetix_ext_distance_size\",\"_rundot_kinetix_ext_distance_shape_distance\",\"_rundot_kinetix_ext_distance_point_distance\",\"_rundot_kinetix_ext_distance_solve\",\"_rundot_kinetix_ext_distance_reset\",\"_rundot_kinetix_ext_mass_properties_abi_version\",\"_rundot_kinetix_ext_mass_properties_shape_stride\",\"_rundot_kinetix_ext_mass_properties_output_stride\",\"_rundot_kinetix_ext_mass_properties_compute\",\"_rundot_kinetix_ext_mass_properties_diagonalize\",\"_rundot_kinetix_ext_mass_properties_is_positive_definite\",\"_rundot_kinetix_ext_rope_abi_version\",\"_rundot_kinetix_ext_rope_node_stride\",\"_rundot_kinetix_ext_rope_node_size\",\"_rundot_kinetix_ext_rope_segment_stride\",\"_rundot_kinetix_ext_rope_segment_size\",\"_rundot_kinetix_ext_rope_bend_stride\",\"_rundot_kinetix_ext_rope_bend_size\",\"_rundot_kinetix_ext_rope_twist_stride\",\"_rundot_kinetix_ext_rope_twist_size\",\"_rundot_kinetix_ext_rope_anchor_stride\",\"_rundot_kinetix_ext_rope_anchor_size\",\"_rundot_kinetix_ext_rope_params_stride\",\"_rundot_kinetix_ext_rope_params_size\",\"_rundot_kinetix_ext_rope_break_event_stride\",\"_rundot_kinetix_ext_rope_break_event_size\",\"_rundot_kinetix_ext_rope_max_nodes\",\"_rundot_kinetix_ext_rope_max_segments\",\"_rundot_kinetix_ext_rope_max_anchors\",\"_rundot_kinetix_ext_rope_max_break_events\",\"_rundot_kinetix_ext_rope_stride\",\"_rundot_kinetix_ext_rope_size\",\"_rundot_kinetix_ext_rope_probe_size\",\"_rundot_kinetix_ext_rope_probe\",\"_rundot_kinetix_ext_rope_step\",\"_rundot_kinetix_ext_rope_solve\",\"_rundot_kinetix_ext_rope_reset\",\"_rundot_kinetix_ext_vehicle_abi_version\",\"_rundot_kinetix_ext_vehicle_wheel_stride\",\"_rundot_kinetix_ext_vehicle_wheel_size\",\"_rundot_kinetix_ext_vehicle_contact_stride\",\"_rundot_kinetix_ext_vehicle_contact_size\",\"_rundot_kinetix_ext_vehicle_chassis_stride\",\"_rundot_kinetix_ext_vehicle_chassis_size\",\"_rundot_kinetix_ext_vehicle_surface_stride\",\"_rundot_kinetix_ext_vehicle_surface_size\",\"_rundot_kinetix_ext_vehicle_triangle_stride\",\"_rundot_kinetix_ext_vehicle_triangle_size\",\"_rundot_kinetix_ext_vehicle_comparison_stride\",\"_rundot_kinetix_ext_vehicle_comparison_size\",\"_rundot_kinetix_ext_vehicle_max_triangles\",\"_rundot_kinetix_ext_vehicle_stride\",\"_rundot_kinetix_ext_vehicle_size\",\"_rundot_kinetix_ext_vehicle_raycast_wheel\",\"_rundot_kinetix_ext_vehicle_shapecast_wheel\",\"_rundot_kinetix_ext_vehicle_evaluate_wheel\",\"_rundot_kinetix_ext_vehicle_compare_wheel\",\"_rundot_kinetix_ext_vehicle_solve_wheel\",\"_rundot_kinetix_ext_vehicle_step\",\"_rundot_kinetix_ext_vehicle_reset_contact\"]"
|
|
46
46
|
],
|
|
47
|
-
"simulationSourceHash": "
|
|
47
|
+
"simulationSourceHash": "07db6f75d32d5e3dcfb8587c381ef8087912698c01bc8c22edcc5e63276efe75"
|
|
48
48
|
});
|
|
49
49
|
// The bytes ship beside this module. The loader checks them against wasmSha256 before use.
|
|
50
50
|
export function physicsProfileWasmUrl() {
|
|
Binary file
|
|
@@ -21,10 +21,10 @@ export const physicsWasmMetadata = Object.freeze({
|
|
|
21
21
|
"compiler": "em++",
|
|
22
22
|
"emccVersion": "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 6.0.3-git",
|
|
23
23
|
"compilerVersion": "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 6.0.3-git",
|
|
24
|
-
"sourceHash": "
|
|
25
|
-
"wasmSha256": "
|
|
24
|
+
"sourceHash": "07db6f75d32d5e3dcfb8587c381ef8087912698c01bc8c22edcc5e63276efe75",
|
|
25
|
+
"wasmSha256": "1ef6300306e44c58f80f31e1a6f11284cc20de3d6575a0d7d1dda437e4aff8d7",
|
|
26
26
|
"artifact": "production",
|
|
27
|
-
"packageVersion": "6.0.0-rc.
|
|
27
|
+
"packageVersion": "6.0.0-rc.76",
|
|
28
28
|
"compilerFlags": [
|
|
29
29
|
"-std=c++20",
|
|
30
30
|
"-O3",
|
|
@@ -43,7 +43,7 @@ export const physicsWasmMetadata = Object.freeze({
|
|
|
43
43
|
"-sSTACK_SIZE=1048576",
|
|
44
44
|
"-sEXPORTED_FUNCTIONS=[\"_malloc\",\"_free\",\"_rundot_kinetix_ext_voxel_abi_version\",\"_rundot_kinetix_ext_voxel_child_stride\",\"_rundot_kinetix_ext_voxel_stats_stride\",\"_rundot_kinetix_ext_voxel_subchunk_stride\",\"_rundot_kinetix_ext_voxel_ray_hit_stride\",\"_rundot_kinetix_ext_voxel_seam_result_stride\",\"_rundot_kinetix_ext_voxel_mass_properties_stride\",\"_rundot_kinetix_ext_voxel_mass_properties\",\"_rundot_kinetix_ext_voxel_scratch_size\",\"_rundot_kinetix_ext_voxel_cook_chunk\",\"_rundot_kinetix_ext_voxel_carve\",\"_rundot_kinetix_ext_voxel_incremental_cook\",\"_rundot_kinetix_ext_voxel_split_components\",\"_rundot_kinetix_ext_voxel_incremental_slice\",\"_rundot_kinetix_ext_voxel_raycast_dda\",\"_rundot_kinetix_ext_voxel_seam_query\",\"_rundot_kinetix_world_abi_version\",\"_rundot_kinetix_numeric_environment_valid\",\"_rundot_kinetix_world_joint_warm_state_stride\",\"_rundot_kinetix_world_topology_abi_version\",\"_rundot_kinetix_world_topology_geometry_abi_version\",\"_rundot_kinetix_world_topology_geometry_command_stride\",\"_rundot_kinetix_world_topology_command_stride\",\"_rundot_kinetix_world_topology_result_stride\",\"_rundot_kinetix_world_topology_info_stride\",\"_rundot_kinetix_world_topology_max_commands\",\"_rundot_kinetix_world_topology_body_id_stride\",\"_rundot_kinetix_world_topology_joint_identity_stride\",\"_rundot_kinetix_world_topology_fluid_id_stride\",\"_rundot_kinetix_world_apply_topology_batch\",\"_rundot_kinetix_world_apply_topology_geometry_batch\",\"_rundot_kinetix_world_prepare_topology_edit\",\"_rundot_kinetix_world_copy_topology_edit_removed\",\"_rundot_kinetix_world_commit_topology_edit\",\"_rundot_kinetix_world_abandon_topology_edit\",\"_rundot_kinetix_world_body_geometry_info\",\"_rundot_kinetix_world_body_geometry_digest\",\"_rundot_kinetix_world_set_contact_groups\",\"_rundot_kinetix_world_copy_body_geometry\",\"_rundot_kinetix_world_topology_info\",\"_rundot_kinetix_world_copy_topology\",\"_rundot_kinetix_world_body_exists\",\"_rundot_kinetix_world_joint_exists\",\"_rundot_kinetix_world_fluid_exists\",\"_rundot_kinetix_world_read_body\",\"_rundot_kinetix_world_install_contact_materials\",\"_rundot_kinetix_world_read_material_name\",\"_rundot_kinetix_world_read_body_material\",\"_rundot_kinetix_world_resolve_contact_material\",\"_rundot_kinetix_world_read_joint\",\"_rundot_kinetix_world_read_fluid\",\"_rundot_kinetix_world_contact_output_info\",\"_rundot_kinetix_world_copy_contact_output\",\"_rundot_kinetix_world_copy_contact_material_output\",\"_rundot_kinetix_world_joint_output_info\",\"_rundot_kinetix_world_copy_joint_output\",\"_rundot_kinetix_world_fluid_interaction_info\",\"_rundot_kinetix_world_copy_fluid_interactions\",\"_rundot_kinetix_world_max_handles\",\"_rundot_kinetix_world_buffer_allocate\",\"_rundot_kinetix_world_buffer_free\",\"_rundot_kinetix_world_create\",\"_rundot_kinetix_instance_ledger_info\",\"_rundot_kinetix_instance_ledger_metadata\",\"_rundot_kinetix_instance_ledger_classes\",\"_rundot_kinetix_instance_ledger_reset_high_water\",\"_rundot_kinetix_world_attach\",\"_rundot_kinetix_world_capture_cache_bytes\",\"_rundot_kinetix_world_checkpoint_capacity\",\"_rundot_kinetix_world_checkpoint_capture_snapshot_token\",\"_rundot_kinetix_world_checkpoint_capture_token\",\"_rundot_kinetix_world_checkpoint_legacy_preflight\",\"_rundot_kinetix_world_checkpoint_live_count\",\"_rundot_kinetix_world_checkpoint_preflight\",\"_rundot_kinetix_world_checkpoint_release_token\",\"_rundot_kinetix_world_checkpoint_restore_token\",\"_rundot_kinetix_world_create_with_checkpoint_capacity\",\"_rundot_kinetix_world_detach\",\"_rundot_kinetix_world_import_snapshot_attached\",\"_rundot_kinetix_world_ownership_counts\",\"_rundot_kinetix_world_revision\",\"_rundot_kinetix_world_destroy\",\"_rundot_kinetix_world_digest\",\"_rundot_kinetix_world_digest_algorithm_revision\",\"_rundot_kinetix_world_checkpoint_digest\",\"_rundot_kinetix_world_checkpoint_strong_digest\",\"_rundot_kinetix_world_checkpoint_strong_digest_token\",\"_rundot_kinetix_world_strong_digest_algorithm_revision\",\"_rundot_kinetix_world_checkpoint_digest_token\",\"_rundot_kinetix_world_checkpoint_view_info\",\"_rundot_kinetix_world_checkpoint_view_info_token\",\"_rundot_kinetix_world_checkpoint_write_body_motion_into\",\"_rundot_kinetix_world_checkpoint_write_body_motion_into_token\",\"_rundot_kinetix_world_checkpoint_copy_latest_output\",\"_rundot_kinetix_world_checkpoint_copy_latest_output_token\",\"_rundot_kinetix_world_checkpoint_import\",\"_rundot_kinetix_world_checkpoint_import_token\",\"_rundot_kinetix_world_frame\",\"_rundot_kinetix_world_replace_state\",\"_rundot_kinetix_world_step\",\"_rundot_kinetix_world_apply_impulse\",\"_rundot_kinetix_world_set_body_force\",\"_rundot_kinetix_world_apply_force\",\"_rundot_kinetix_world_apply_force_at_point\",\"_rundot_kinetix_world_clear_body_force\",\"_rundot_kinetix_world_set_body_surface_velocity\",\"_rundot_kinetix_world_max_support_records\",\"_rundot_kinetix_world_apply_support\",\"_rundot_kinetix_world_read_surface_velocity\",\"_rundot_kinetix_world_read_body_mobility\",\"_rundot_kinetix_world_read_pending_support_impulse\",\"_rundot_kinetix_world_set_body_linear_velocity\",\"_rundot_kinetix_world_set_body_angular_velocity\",\"_rundot_kinetix_world_set_body_transform\",\"_rundot_kinetix_world_set_body_linear_damping\",\"_rundot_kinetix_world_wake_body\",\"_rundot_kinetix_world_write_body_motion\",\"_rundot_kinetix_world_motion_pose_stride\",\"_rundot_kinetix_world_motion_velocity_stride\",\"_rundot_kinetix_world_motion_status_version\",\"_rundot_kinetix_world_motion_pose_value_limit\",\"_rundot_kinetix_world_motion_velocity_value_limit\",\"_rundot_kinetix_world_motion_id_word_limit\",\"_rundot_kinetix_world_motion_status_byte_limit\",\"_rundot_kinetix_physics_buoyancy\",\"_rundot_kinetix_physics_voxel_buoyancy\",\"_rundot_kinetix_physics_buoyancy_abi_version\",\"_rundot_kinetix_physics_buoyancy_input_stride\",\"_rundot_kinetix_physics_buoyancy_output_stride\",\"_rundot_kinetix_physics_fluid_abi_version\",\"_rundot_kinetix_physics_fluid_forces_input_stride\",\"_rundot_kinetix_physics_fluid_forces_output_stride\",\"_rundot_kinetix_physics_fluid_volume_input_stride\",\"_rundot_kinetix_physics_fluid_state_forces_input_stride\",\"_rundot_kinetix_physics_fluid_forces\",\"_rundot_kinetix_physics_fluid_state_forces\",\"_rundot_kinetix_physics_voxel_fluid_forces\",\"_rundot_kinetix_world_query\",\"_rundot_kinetix_world_query_body_ray\",\"_rundot_kinetix_world_query_ray_batch\",\"_rundot_kinetix_world_periodic_domain\",\"_rundot_kinetix_world_query_images\",\"_rundot_kinetix_world_query_ray_batch_images\",\"_rundot_kinetix_world_read_support_contexts\",\"_rundot_kinetix_world_set_contact_exclusions\",\"_rundot_kinetix_world_set_contact_rules\",\"_rundot_kinetix_world_set_query_hidden_bodies\",\"_rundot_kinetix_world_set_query_index\",\"_rundot_kinetix_world_last_query_stats\",\"_rundot_kinetix_world_state_info\",\"_rundot_kinetix_world_copy_state\",\"_rundot_kinetix_world_capture_snapshot\",\"_rundot_kinetix_world_import_snapshot\",\"_rundot_kinetix_world_checkpoint_capture\",\"_rundot_kinetix_world_checkpoint_restore\",\"_rundot_kinetix_world_checkpoint_release\",\"_rundot_kinetix_world_checkpoint_capture_snapshot\",\"_rundot_kinetix_world_error_size\",\"_rundot_kinetix_world_error_command_index\",\"_rundot_kinetix_world_copy_error\",\"_rundot_kinetix_physics_abi_version\",\"_rundot_kinetix_physics_body_stride\",\"_rundot_kinetix_physics_set_geometry\",\"_rundot_kinetix_physics_set_contact_cache\",\"_rundot_kinetix_physics_set_external_forces\",\"_rundot_kinetix_physics_contact_count\",\"_rundot_kinetix_physics_contact_data\",\"_rundot_kinetix_physics_contact_cache_count\",\"_rundot_kinetix_physics_contact_cache_data\",\"_rundot_kinetix_physics_joint_count\",\"_rundot_kinetix_physics_joint_data\",\"_rundot_kinetix_physics_query_count\",\"_rundot_kinetix_physics_query_data\",\"_rundot_kinetix_physics_step\",\"_rundot_kinetix_physics_step_v2\",\"_rundot_kinetix_physics_step_v3\",\"_rundot_kinetix_physics_step_with_joints\",\"_rundot_kinetix_physics_step_with_joints_v2\",\"_rundot_kinetix_physics_step_with_joints_v3\",\"_rundot_kinetix_physics_apply_impulses\",\"_rundot_kinetix_physics_raycast\",\"_rundot_kinetix_physics_overlap\",\"_rundot_kinetix_physics_shape_cast\",\"_rundot_kinetix_ext_abi_version\",\"_rundot_kinetix_ext_gear_config_stride\",\"_rundot_kinetix_ext_gear_state_stride\",\"_rundot_kinetix_ext_gear_telemetry_stride\",\"_rundot_kinetix_ext_gear_stride\",\"_rundot_kinetix_ext_gear_size\",\"_rundot_kinetix_ext_gear_solve\",\"_rundot_kinetix_ext_gear_step\",\"_rundot_kinetix_ext_pulley_config_stride\",\"_rundot_kinetix_ext_pulley_state_stride\",\"_rundot_kinetix_ext_pulley_geometry_stride\",\"_rundot_kinetix_ext_pulley_stride\",\"_rundot_kinetix_ext_pulley_size\",\"_rundot_kinetix_ext_pulley_solve\",\"_rundot_kinetix_ext_pulley_compute_geometry\",\"_rundot_kinetix_ext_path_joint_stride\",\"_rundot_kinetix_ext_path_joint_sample_stride\",\"_rundot_kinetix_ext_path_joint_control_point_stride\",\"_rundot_kinetix_ext_path_joint_size\",\"_rundot_kinetix_ext_path_joint_cook\",\"_rundot_kinetix_ext_path_joint_sample\",\"_rundot_kinetix_ext_path_joint_closest_arc_length\",\"_rundot_kinetix_ext_path_joint_solve\",\"_rundot_kinetix_ext_particles_particle_stride\",\"_rundot_kinetix_ext_particles_emitter_stride\",\"_rundot_kinetix_ext_particles_params_stride\",\"_rundot_kinetix_ext_particles_max_capacity\",\"_rundot_kinetix_ext_particles_max_emitters\",\"_rundot_kinetix_ext_particles_stride\",\"_rundot_kinetix_ext_particles_size\",\"_rundot_kinetix_ext_particles_step\",\"_rundot_kinetix_ext_particles_emit\",\"_rundot_kinetix_ext_particles_reset\",\"_rundot_kinetix_ext_ragdoll_bone_stride\",\"_rundot_kinetix_ext_ragdoll_transform_stride\",\"_rundot_kinetix_ext_ragdoll_body_stride\",\"_rundot_kinetix_ext_ragdoll_joint_stride\",\"_rundot_kinetix_ext_ragdoll_max_bones\",\"_rundot_kinetix_ext_ragdoll_max_joints\",\"_rundot_kinetix_ext_ragdoll_max_filter_pairs\",\"_rundot_kinetix_ext_ragdoll_stride\",\"_rundot_kinetix_ext_ragdoll_size\",\"_rundot_kinetix_ext_ragdoll_construct\",\"_rundot_kinetix_ext_ragdoll_forward_kinematics\",\"_rundot_kinetix_ext_ragdoll_inverse_kinematics\",\"_rundot_kinetix_ext_ragdoll_constrain_pose\",\"_rundot_kinetix_ext_powertrain_config_stride\",\"_rundot_kinetix_ext_powertrain_state_stride\",\"_rundot_kinetix_ext_powertrain_input_stride\",\"_rundot_kinetix_ext_powertrain_wheel_state_stride\",\"_rundot_kinetix_ext_powertrain_wheel_output_stride\",\"_rundot_kinetix_ext_powertrain_max_wheels\",\"_rundot_kinetix_ext_powertrain_max_gears\",\"_rundot_kinetix_ext_powertrain_stride\",\"_rundot_kinetix_ext_powertrain_size\",\"_rundot_kinetix_ext_powertrain_step\",\"_rundot_kinetix_ext_powertrain_sample_engine_curve\",\"_rundot_kinetix_ext_rounded_convex_sphere_stride\",\"_rundot_kinetix_ext_rounded_convex_vertex_stride\",\"_rundot_kinetix_ext_rounded_convex_pose_stride\",\"_rundot_kinetix_ext_rounded_convex_direction_stride\",\"_rundot_kinetix_ext_rounded_convex_support_stride\",\"_rundot_kinetix_ext_rounded_convex_collision_stride\",\"_rundot_kinetix_ext_rounded_convex_mass_properties_stride\",\"_rundot_kinetix_ext_rounded_convex_ray_stride\",\"_rundot_kinetix_ext_rounded_convex_rayhit_stride\",\"_rundot_kinetix_ext_rounded_convex_max_spheres\",\"_rundot_kinetix_ext_rounded_convex_max_vertices\",\"_rundot_kinetix_ext_rounded_convex_input_stride\",\"_rundot_kinetix_ext_rounded_convex_output_stride\",\"_rundot_kinetix_ext_rounded_convex_stride\",\"_rundot_kinetix_ext_rounded_convex_size\",\"_rundot_kinetix_ext_rounded_convex_support\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_support\",\"_rundot_kinetix_ext_rounded_convex_collide\",\"_rundot_kinetix_ext_rounded_convex_collision\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_collide\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_collision\",\"_rundot_kinetix_ext_rounded_convex_compute_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_compute_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_multi_sphere_mass_properties\",\"_rundot_kinetix_ext_rounded_convex_raycast\",\"_rundot_kinetix_ext_surface_velocity_record_stride\",\"_rundot_kinetix_ext_surface_velocity_rule_stride\",\"_rundot_kinetix_ext_surface_velocity_properties_stride\",\"_rundot_kinetix_ext_surface_velocity_stride\",\"_rundot_kinetix_ext_surface_velocity_size\",\"_rundot_kinetix_ext_surface_velocity_evaluate_rules\",\"_rundot_kinetix_ext_surface_velocity_solve_conveyor_friction\",\"_rundot_kinetix_ext_surface_velocity_solve_friction\",\"_rundot_kinetix_ext_contact_material_record_version\",\"_rundot_kinetix_ext_contact_material_record_double_stride\",\"_rundot_kinetix_ext_contact_material_rule_double_stride\",\"_rundot_kinetix_ext_contact_material_result_double_stride\",\"_rundot_kinetix_ext_resolve_contact_material\",\"_rundot_kinetix_ext_serialize_contact_material_rules_versioned\",\"_rundot_kinetix_ext_deserialize_contact_material_rules_versioned\",\"_rundot_kinetix_ext_deformables_abi_version\",\"_rundot_kinetix_ext_cloth_node_stride\",\"_rundot_kinetix_ext_cloth_stretch_stride\",\"_rundot_kinetix_ext_cloth_shear_stride\",\"_rundot_kinetix_ext_cloth_bend_stride\",\"_rundot_kinetix_ext_cloth_face_stride\",\"_rundot_kinetix_ext_cloth_pin_stride\",\"_rundot_kinetix_ext_cloth_tether_stride\",\"_rundot_kinetix_ext_cloth_params_stride\",\"_rundot_kinetix_ext_cloth_max_nodes\",\"_rundot_kinetix_ext_cloth_max_faces\",\"_rundot_kinetix_ext_cloth_max_pins\",\"_rundot_kinetix_ext_cloth_stride\",\"_rundot_kinetix_ext_cloth_size\",\"_rundot_kinetix_ext_cloth_step\",\"_rundot_kinetix_ext_cloth_probe_size\",\"_rundot_kinetix_ext_cloth_probe\",\"_rundot_kinetix_ext_soft_body_abi_version\",\"_rundot_kinetix_ext_soft_body_node_stride\",\"_rundot_kinetix_ext_soft_body_tet_stride\",\"_rundot_kinetix_ext_soft_body_face_stride\",\"_rundot_kinetix_ext_soft_body_edge_stride\",\"_rundot_kinetix_ext_soft_body_anchor_stride\",\"_rundot_kinetix_ext_soft_body_params_stride\",\"_rundot_kinetix_ext_soft_body_max_nodes\",\"_rundot_kinetix_ext_soft_body_max_tetrahedra\",\"_rundot_kinetix_ext_soft_body_max_edges\",\"_rundot_kinetix_ext_soft_body_max_faces\",\"_rundot_kinetix_ext_soft_body_size\",\"_rundot_kinetix_ext_soft_body_step\",\"_rundot_kinetix_ext_soft_body_compute_volume\",\"_rundot_kinetix_ext_soft_body_solve_volume\",\"_rundot_kinetix_ext_soft_body_apply_pressure\",\"_rundot_kinetix_ext_soft_body_handle_inversion\",\"_rundot_kinetix_ext_soft_body_probe_size\",\"_rundot_kinetix_ext_soft_body_probe\",\"_rundot_kinetix_ext_soft_collision_abi_version\",\"_rundot_kinetix_ext_soft_node_stride\",\"_rundot_kinetix_ext_soft_face_stride\",\"_rundot_kinetix_ext_soft_body_stride\",\"_rundot_kinetix_ext_soft_params_stride\",\"_rundot_kinetix_ext_soft_rigid_contact_stride\",\"_rundot_kinetix_ext_soft_soft_contact_stride\",\"_rundot_kinetix_ext_soft_sensor_event_stride\",\"_rundot_kinetix_ext_soft_raycast_query_stride\",\"_rundot_kinetix_ext_soft_raycast_hit_stride\",\"_rundot_kinetix_ext_soft_overlap_query_stride\",\"_rundot_kinetix_ext_soft_overlap_hit_stride\",\"_rundot_kinetix_ext_soft_closest_point_query_stride\",\"_rundot_kinetix_ext_soft_closest_point_result_stride\",\"_rundot_kinetix_ext_soft_max_nodes\",\"_rundot_kinetix_ext_soft_max_faces\",\"_rundot_kinetix_ext_soft_max_bodies\",\"_rundot_kinetix_ext_soft_max_contacts\",\"_rundot_kinetix_ext_soft_max_sensor_events\",\"_rundot_kinetix_ext_soft_max_exclusions\",\"_rundot_kinetix_ext_soft_stride\",\"_rundot_kinetix_ext_soft_size\",\"_rundot_kinetix_ext_soft_collision_stride\",\"_rundot_kinetix_ext_soft_collision_size\",\"_rundot_kinetix_ext_soft_rigid_solve\",\"_rundot_kinetix_ext_soft_soft_solve\",\"_rundot_kinetix_ext_soft_step\",\"_rundot_kinetix_ext_soft_raycast\",\"_rundot_kinetix_ext_soft_overlap_sphere\",\"_rundot_kinetix_ext_soft_overlap_aabb\",\"_rundot_kinetix_ext_soft_closest_point\",\"_rundot_kinetix_ext_fracture_abi_version\",\"_rundot_kinetix_ext_fracture_vertex_stride\",\"_rundot_kinetix_ext_fracture_constraint_stride\",\"_rundot_kinetix_ext_fracture_face_stride\",\"_rundot_kinetix_ext_fracture_event_stride\",\"_rundot_kinetix_ext_fracture_audit_stride\",\"_rundot_kinetix_ext_fracture_snapshot_header_stride\",\"_rundot_kinetix_ext_fracture_cutting_tool_stride\",\"_rundot_kinetix_ext_fracture_params_stride\",\"_rundot_kinetix_ext_fracture_max_vertices\",\"_rundot_kinetix_ext_fracture_max_constraints\",\"_rundot_kinetix_ext_fracture_max_faces\",\"_rundot_kinetix_ext_fracture_max_events\",\"_rundot_kinetix_ext_fracture_max_fragments\",\"_rundot_kinetix_ext_fracture_stride\",\"_rundot_kinetix_ext_fracture_size\",\"_rundot_kinetix_ext_fracture_create_grid\",\"_rundot_kinetix_ext_fracture_step\",\"_rundot_kinetix_ext_fracture_cut\",\"_rundot_kinetix_ext_fracture_tear_constraint\",\"_rundot_kinetix_ext_fracture_split_vertex\",\"_rundot_kinetix_ext_fracture_find_components\",\"_rundot_kinetix_ext_fracture_audit_mass\",\"_rundot_kinetix_ext_fracture_capture_snapshot\",\"_rundot_kinetix_ext_fracture_restore_snapshot\",\"_rundot_kinetix_ext_sdf_abi_version\",\"_rundot_kinetix_ext_custom_geometry_abi_version\",\"_rundot_kinetix_ext_sdf_grid_desc_stride\",\"_rundot_kinetix_ext_sdf_pose_stride\",\"_rundot_kinetix_ext_sdf_query_input_stride\",\"_rundot_kinetix_ext_sdf_query_output_stride\",\"_rundot_kinetix_ext_sdf_collision_stride\",\"_rundot_kinetix_ext_sdf_ray_stride\",\"_rundot_kinetix_ext_sdf_rayhit_stride\",\"_rundot_kinetix_ext_custom_geometry_desc_stride\",\"_rundot_kinetix_ext_sdf_stride\",\"_rundot_kinetix_ext_sdf_size\",\"_rundot_kinetix_ext_custom_geometry_stride\",\"_rundot_kinetix_ext_custom_geometry_size\",\"_rundot_kinetix_ext_sdf_cook_primitive\",\"_rundot_kinetix_ext_sdf_cook_csg\",\"_rundot_kinetix_ext_sdf_compute_conservative_bounds\",\"_rundot_kinetix_ext_sdf_sample\",\"_rundot_kinetix_ext_sdf_raycast\",\"_rundot_kinetix_ext_sdf_collide_sphere\",\"_rundot_kinetix_ext_sdf_collide_capsule\",\"_rundot_kinetix_ext_sdf_collide_box\",\"_rundot_kinetix_ext_sdf_collide_particles\",\"_rundot_kinetix_ext_custom_geometry_bounds\",\"_rundot_kinetix_ext_custom_geometry_evaluate\",\"_rundot_kinetix_ext_custom_geometry_raycast\",\"_rundot_kinetix_ext_deformable_abi_version\",\"_rundot_kinetix_ext_deformable_snapshot_version\",\"_rundot_kinetix_ext_deformable_node_stride\",\"_rundot_kinetix_ext_deformable_triangle_stride\",\"_rundot_kinetix_ext_deformable_tetra_stride\",\"_rundot_kinetix_ext_deformable_constraint_stride\",\"_rundot_kinetix_ext_deformable_contact_stride\",\"_rundot_kinetix_ext_deformable_pressure_stride\",\"_rundot_kinetix_ext_deformable_ray_query_stride\",\"_rundot_kinetix_ext_deformable_ray_hit_stride\",\"_rundot_kinetix_ext_deformable_overlap_query_stride\",\"_rundot_kinetix_ext_deformable_overlap_result_stride\",\"_rundot_kinetix_ext_deformable_sweep_query_stride\",\"_rundot_kinetix_ext_deformable_sweep_hit_stride\",\"_rundot_kinetix_ext_deformable_snapshot_header_size\",\"_rundot_kinetix_ext_deformable_stride\",\"_rundot_kinetix_ext_deformable_size\",\"_rundot_kinetix_ext_deformable_raycast\",\"_rundot_kinetix_ext_deformable_overlap\",\"_rundot_kinetix_ext_deformable_sweep\",\"_rundot_kinetix_ext_deformable_closest_point\",\"_rundot_kinetix_ext_deformable_snapshot_size\",\"_rundot_kinetix_ext_deformable_capture_snapshot\",\"_rundot_kinetix_ext_deformable_restore_snapshot\",\"_rundot_kinetix_ext_deformable_verify_snapshot\",\"_rundot_kinetix_ext_deformable_compute_bounds\",\"_rundot_kinetix_ext_deformable_compute_volume\",\"_rundot_kinetix_ext_d18_abi_version\",\"_rundot_kinetix_ext_d18_node_stride\",\"_rundot_kinetix_ext_d18_segment_stride\",\"_rundot_kinetix_ext_d18_face_stride\",\"_rundot_kinetix_ext_d18_distance_constraint_stride\",\"_rundot_kinetix_ext_d18_bend_constraint_stride\",\"_rundot_kinetix_ext_d18_shear_constraint_stride\",\"_rundot_kinetix_ext_d18_area_constraint_stride\",\"_rundot_kinetix_ext_d18_anchor_stride\",\"_rundot_kinetix_ext_d18_particle_stride\",\"_rundot_kinetix_ext_d18_emitter_stride\",\"_rundot_kinetix_ext_d18_params_stride\",\"_rundot_kinetix_ext_d18_rigid_body_stride\",\"_rundot_kinetix_ext_d18_raycast_query_stride\",\"_rundot_kinetix_ext_d18_raycast_hit_stride\",\"_rundot_kinetix_ext_d18_closest_point_query_stride\",\"_rundot_kinetix_ext_d18_closest_point_hit_stride\",\"_rundot_kinetix_ext_d18_overlap_query_stride\",\"_rundot_kinetix_ext_d18_overlap_hit_stride\",\"_rundot_kinetix_ext_d18_world_size\",\"_rundot_kinetix_ext_d18_stride\",\"_rundot_kinetix_ext_d18_size\",\"_rundot_kinetix_ext_d18_step\",\"_rundot_kinetix_ext_d18_step_raw\",\"_rundot_kinetix_ext_d18_add_rope\",\"_rundot_kinetix_ext_d18_add_cloth_grid\",\"_rundot_kinetix_ext_d18_add_particle\",\"_rundot_kinetix_ext_d18_raycast\",\"_rundot_kinetix_ext_d18_closest_point\",\"_rundot_kinetix_ext_d18_overlap\",\"_rundot_kinetix_ext_d18_capture_snapshot\",\"_rundot_kinetix_ext_d18_restore_snapshot\",\"_rundot_kinetix_ext_d18_compute_mass_properties\",\"_rundot_kinetix_ext_planar_deformable_abi_version\",\"_rundot_kinetix_ext_planar_deformable_node_stride\",\"_rundot_kinetix_ext_planar_deformable_segment_stride\",\"_rundot_kinetix_ext_planar_deformable_face_stride\",\"_rundot_kinetix_ext_planar_deformable_distance_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_bend_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_shear_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_area_constraint_stride\",\"_rundot_kinetix_ext_planar_deformable_anchor_stride\",\"_rundot_kinetix_ext_planar_deformable_particle_stride\",\"_rundot_kinetix_ext_planar_deformable_emitter_stride\",\"_rundot_kinetix_ext_planar_deformable_params_stride\",\"_rundot_kinetix_ext_planar_deformable_rigid_body_stride\",\"_rundot_kinetix_ext_planar_deformable_raycast_query_stride\",\"_rundot_kinetix_ext_planar_deformable_raycast_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_closest_point_query_stride\",\"_rundot_kinetix_ext_planar_deformable_closest_point_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_overlap_query_stride\",\"_rundot_kinetix_ext_planar_deformable_overlap_hit_stride\",\"_rundot_kinetix_ext_planar_deformable_world_size\",\"_rundot_kinetix_ext_planar_deformable_stride\",\"_rundot_kinetix_ext_planar_deformable_size\",\"_rundot_kinetix_ext_planar_deformable_step\",\"_rundot_kinetix_ext_planar_deformable_step_raw\",\"_rundot_kinetix_ext_planar_deformable_add_rope\",\"_rundot_kinetix_ext_planar_deformable_add_cloth_grid\",\"_rundot_kinetix_ext_planar_deformable_add_particle\",\"_rundot_kinetix_ext_planar_deformable_raycast\",\"_rundot_kinetix_ext_planar_deformable_closest_point\",\"_rundot_kinetix_ext_planar_deformable_overlap\",\"_rundot_kinetix_ext_planar_deformable_capture_snapshot\",\"_rundot_kinetix_ext_planar_deformable_restore_snapshot\",\"_rundot_kinetix_ext_planar_deformable_compute_mass_properties\",\"_rundot_kinetix_ext_characters_abi_version\",\"_rundot_kinetix_ext_powered_ragdoll_abi_version\",\"_rundot_kinetix_ext_powered_ragdoll_config_stride\",\"_rundot_kinetix_ext_powered_ragdoll_joint_config_stride\",\"_rundot_kinetix_ext_powered_ragdoll_joint_state_stride\",\"_rundot_kinetix_ext_powered_ragdoll_hit_stride\",\"_rundot_kinetix_ext_powered_ragdoll_transform_stride\",\"_rundot_kinetix_ext_powered_ragdoll_stride\",\"_rundot_kinetix_ext_powered_ragdoll_size\",\"_rundot_kinetix_ext_powered_ragdoll_max_bones\",\"_rundot_kinetix_ext_powered_ragdoll_max_joints\",\"_rundot_kinetix_ext_powered_ragdoll_state_size\",\"_rundot_kinetix_ext_powered_ragdoll_step\",\"_rundot_kinetix_ext_powered_ragdoll_apply_hit\",\"_rundot_kinetix_ext_powered_ragdoll_blend_pose\",\"_rundot_kinetix_ext_powered_ragdoll_recover_pose\",\"_rundot_kinetix_ext_powered_ragdoll_capture_state\",\"_rundot_kinetix_ext_powered_ragdoll_restore_state\",\"_rundot_kinetix_ext_voxel_abi_version\",\"_rundot_kinetix_ext_voxel_child_stride\",\"_rundot_kinetix_ext_voxel_stats_stride\",\"_rundot_kinetix_ext_voxel_subchunk_stride\",\"_rundot_kinetix_ext_voxel_ray_hit_stride\",\"_rundot_kinetix_ext_voxel_seam_result_stride\",\"_rundot_kinetix_ext_voxel_stride\",\"_rundot_kinetix_ext_voxel_size\",\"_rundot_kinetix_ext_voxel_max_dimension\",\"_rundot_kinetix_ext_voxel_scratch_size\",\"_rundot_kinetix_ext_voxel_cook_chunk\",\"_rundot_kinetix_ext_voxel_carve\",\"_rundot_kinetix_ext_voxel_incremental_cook\",\"_rundot_kinetix_ext_voxel_split_components\",\"_rundot_kinetix_ext_voxel_incremental_slice\",\"_rundot_kinetix_ext_voxel_raycast_dda\",\"_rundot_kinetix_ext_voxel_seam_query\",\"_rundot_kinetix_ext_k09_abi_version\",\"_rundot_kinetix_ext_k09_body_stride\",\"_rundot_kinetix_ext_k09_header_stride\",\"_rundot_kinetix_ext_k09_query_stride\",\"_rundot_kinetix_ext_k09_result_stride\",\"_rundot_kinetix_ext_k09_max_frames\",\"_rundot_kinetix_ext_k09_max_bodies\",\"_rundot_kinetix_ext_k09_max_results\",\"_rundot_kinetix_ext_lag_compensation_stride\",\"_rundot_kinetix_ext_lag_compensation_size\",\"_rundot_kinetix_ext_k09_stride\",\"_rundot_kinetix_ext_k09_size\",\"_rundot_kinetix_ext_k09_reset\",\"_rundot_kinetix_ext_k09_record_frame\",\"_rundot_kinetix_ext_k09_has_tick\",\"_rundot_kinetix_ext_k09_oldest_tick\",\"_rundot_kinetix_ext_k09_newest_tick\",\"_rundot_kinetix_ext_k09_frame_count\",\"_rundot_kinetix_ext_k09_query_topology\",\"_rundot_kinetix_ext_k09_query_body\",\"_rundot_kinetix_ext_k09_query_body_by_index\",\"_rundot_kinetix_ext_k09_query_filter\",\"_rundot_kinetix_ext_k09_query_geometry\",\"_rundot_kinetix_ext_k09_query_pose\",\"_rundot_kinetix_ext_k09_query_interpolated_pose\",\"_rundot_kinetix_ext_k09_rewind_scene\",\"_rundot_kinetix_ext_k09_rewind_scene_interpolated\",\"_rundot_kinetix_ext_k09_raycast\",\"_rundot_kinetix_ext_k09_overlap\",\"_rundot_kinetix_ext_k09_shapecast\",\"_rundot_kinetix_ext_lag_compensation_abi_version\",\"_rundot_kinetix_ext_lag_compensation_body_stride\",\"_rundot_kinetix_ext_lag_compensation_header_stride\",\"_rundot_kinetix_ext_lag_compensation_query_stride\",\"_rundot_kinetix_ext_lag_compensation_result_stride\",\"_rundot_kinetix_ext_lag_compensation_max_frames\",\"_rundot_kinetix_ext_lag_compensation_max_bodies\",\"_rundot_kinetix_ext_lag_compensation_max_results\",\"_rundot_kinetix_ext_lag_compensation_reset\",\"_rundot_kinetix_ext_lag_compensation_record_frame\",\"_rundot_kinetix_ext_lag_compensation_has_tick\",\"_rundot_kinetix_ext_lag_compensation_oldest_tick\",\"_rundot_kinetix_ext_lag_compensation_newest_tick\",\"_rundot_kinetix_ext_lag_compensation_frame_count\",\"_rundot_kinetix_ext_lag_compensation_query_topology\",\"_rundot_kinetix_ext_lag_compensation_query_body\",\"_rundot_kinetix_ext_lag_compensation_query_body_by_index\",\"_rundot_kinetix_ext_lag_compensation_query_filter\",\"_rundot_kinetix_ext_lag_compensation_query_geometry\",\"_rundot_kinetix_ext_lag_compensation_query_pose\",\"_rundot_kinetix_ext_lag_compensation_query_interpolated_pose\",\"_rundot_kinetix_ext_lag_compensation_rewind_scene\",\"_rundot_kinetix_ext_lag_compensation_rewind_scene_interpolated\",\"_rundot_kinetix_ext_lag_compensation_raycast\",\"_rundot_kinetix_ext_lag_compensation_overlap\",\"_rundot_kinetix_ext_lag_compensation_shapecast\",\"_rundot_kinetix_ext_articulation_abi_version\",\"_rundot_kinetix_ext_articulation_link_stride\",\"_rundot_kinetix_ext_articulation_joint_stride\",\"_rundot_kinetix_ext_articulation_state_stride\",\"_rundot_kinetix_ext_articulation_loop_stride\",\"_rundot_kinetix_ext_articulation_stride\",\"_rundot_kinetix_ext_articulation_size\",\"_rundot_kinetix_ext_articulation_max_links\",\"_rundot_kinetix_ext_articulation_max_dofs\",\"_rundot_kinetix_ext_articulation_max_loops\",\"_rundot_kinetix_ext_articulation_step\",\"_rundot_kinetix_ext_articulation_forward_kinematics\",\"_rundot_kinetix_ext_articulation_solve_loops\",\"_rundot_kinetix_ext_articulation_sync_bodies\",\"_rundot_kinetix_ext_vehicles_abi_version\",\"_rundot_kinetix_ext_tracks_abi_version\",\"_rundot_kinetix_ext_tracks_wheel_stride\",\"_rundot_kinetix_ext_tracks_track_config_stride\",\"_rundot_kinetix_ext_tracks_vehicle_config_stride\",\"_rundot_kinetix_ext_tracks_input_stride\",\"_rundot_kinetix_ext_tracks_state_stride\",\"_rundot_kinetix_ext_tracks_output_stride\",\"_rundot_kinetix_ext_tracks_max_wheels_per_track\",\"_rundot_kinetix_ext_tracks_max_tracks\",\"_rundot_kinetix_ext_tracks_stride\",\"_rundot_kinetix_ext_tracks_size\",\"_rundot_kinetix_ext_tracks_step_vehicle\",\"_rundot_kinetix_ext_tracks_step\",\"_rundot_kinetix_ext_tracks_evaluate_friction\",\"_rundot_kinetix_ext_tracks_differential_steering\",\"_rundot_kinetix_ext_motorcycle_abi_version\",\"_rundot_kinetix_ext_motorcycle_config_stride\",\"_rundot_kinetix_ext_motorcycle_input_stride\",\"_rundot_kinetix_ext_motorcycle_state_stride\",\"_rundot_kinetix_ext_motorcycle_output_stride\",\"_rundot_kinetix_ext_motorcycle_stride\",\"_rundot_kinetix_ext_motorcycle_size\",\"_rundot_kinetix_ext_motorcycle_step\",\"_rundot_kinetix_ext_motorcycle_lean_stability\",\"_rundot_kinetix_ext_motorcycle_countersteer\",\"_rundot_kinetix_ext_platformer2d_abi_version\",\"_rundot_kinetix_ext_platformer2d_state_stride\",\"_rundot_kinetix_ext_platformer2d_input_stride\",\"_rundot_kinetix_ext_platformer2d_config_stride\",\"_rundot_kinetix_ext_platformer2d_body_stride\",\"_rundot_kinetix_ext_platformer2d_event_stride\",\"_rundot_kinetix_ext_platformer2d_max_events\",\"_rundot_kinetix_ext_platformer2d_max_bodies\",\"_rundot_kinetix_ext_platformer2d_max_slide_iterations\",\"_rundot_kinetix_ext_platformer2d_stride\",\"_rundot_kinetix_ext_platformer2d_size\",\"_rundot_kinetix_ext_platformer2d_step\",\"_rundot_kinetix_ext_platformer2d_step_legacy\",\"_rundot_kinetix_ext_core_features_abi_version\",\"_rundot_kinetix_ext_character_abi_version\",\"_rundot_kinetix_ext_character_config_stride\",\"_rundot_kinetix_ext_character_config_size\",\"_rundot_kinetix_ext_character_input_stride\",\"_rundot_kinetix_ext_character_input_size\",\"_rundot_kinetix_ext_character_state_stride\",\"_rundot_kinetix_ext_character_state_size\",\"_rundot_kinetix_ext_character_hit_stride\",\"_rundot_kinetix_ext_character_hit_size\",\"_rundot_kinetix_ext_character_shape_stride\",\"_rundot_kinetix_ext_character_shape_size\",\"_rundot_kinetix_ext_character_stride\",\"_rundot_kinetix_ext_character_size\",\"_rundot_kinetix_ext_character_step\",\"_rundot_kinetix_ext_character_reset\",\"_rundot_kinetix_ext_character_init_config\",\"_rundot_kinetix_ext_character_init_state\",\"_rundot_kinetix_ext_distance_abi_version\",\"_rundot_kinetix_ext_distance_input_stride\",\"_rundot_kinetix_ext_distance_input_size\",\"_rundot_kinetix_ext_distance_options_stride\",\"_rundot_kinetix_ext_distance_options_size\",\"_rundot_kinetix_ext_distance_output_stride\",\"_rundot_kinetix_ext_distance_output_size\",\"_rundot_kinetix_ext_distance_result_stride\",\"_rundot_kinetix_ext_distance_result_size\",\"_rundot_kinetix_ext_distance_shape_stride\",\"_rundot_kinetix_ext_distance_shape_size\",\"_rundot_kinetix_ext_distance_stride\",\"_rundot_kinetix_ext_distance_size\",\"_rundot_kinetix_ext_distance_shape_distance\",\"_rundot_kinetix_ext_distance_point_distance\",\"_rundot_kinetix_ext_distance_solve\",\"_rundot_kinetix_ext_distance_reset\",\"_rundot_kinetix_ext_mass_properties_abi_version\",\"_rundot_kinetix_ext_mass_properties_shape_stride\",\"_rundot_kinetix_ext_mass_properties_output_stride\",\"_rundot_kinetix_ext_mass_properties_compute\",\"_rundot_kinetix_ext_mass_properties_diagonalize\",\"_rundot_kinetix_ext_mass_properties_is_positive_definite\",\"_rundot_kinetix_ext_rope_abi_version\",\"_rundot_kinetix_ext_rope_node_stride\",\"_rundot_kinetix_ext_rope_node_size\",\"_rundot_kinetix_ext_rope_segment_stride\",\"_rundot_kinetix_ext_rope_segment_size\",\"_rundot_kinetix_ext_rope_bend_stride\",\"_rundot_kinetix_ext_rope_bend_size\",\"_rundot_kinetix_ext_rope_twist_stride\",\"_rundot_kinetix_ext_rope_twist_size\",\"_rundot_kinetix_ext_rope_anchor_stride\",\"_rundot_kinetix_ext_rope_anchor_size\",\"_rundot_kinetix_ext_rope_params_stride\",\"_rundot_kinetix_ext_rope_params_size\",\"_rundot_kinetix_ext_rope_break_event_stride\",\"_rundot_kinetix_ext_rope_break_event_size\",\"_rundot_kinetix_ext_rope_max_nodes\",\"_rundot_kinetix_ext_rope_max_segments\",\"_rundot_kinetix_ext_rope_max_anchors\",\"_rundot_kinetix_ext_rope_max_break_events\",\"_rundot_kinetix_ext_rope_stride\",\"_rundot_kinetix_ext_rope_size\",\"_rundot_kinetix_ext_rope_probe_size\",\"_rundot_kinetix_ext_rope_probe\",\"_rundot_kinetix_ext_rope_step\",\"_rundot_kinetix_ext_rope_solve\",\"_rundot_kinetix_ext_rope_reset\",\"_rundot_kinetix_ext_vehicle_abi_version\",\"_rundot_kinetix_ext_vehicle_wheel_stride\",\"_rundot_kinetix_ext_vehicle_wheel_size\",\"_rundot_kinetix_ext_vehicle_contact_stride\",\"_rundot_kinetix_ext_vehicle_contact_size\",\"_rundot_kinetix_ext_vehicle_chassis_stride\",\"_rundot_kinetix_ext_vehicle_chassis_size\",\"_rundot_kinetix_ext_vehicle_surface_stride\",\"_rundot_kinetix_ext_vehicle_surface_size\",\"_rundot_kinetix_ext_vehicle_triangle_stride\",\"_rundot_kinetix_ext_vehicle_triangle_size\",\"_rundot_kinetix_ext_vehicle_comparison_stride\",\"_rundot_kinetix_ext_vehicle_comparison_size\",\"_rundot_kinetix_ext_vehicle_max_triangles\",\"_rundot_kinetix_ext_vehicle_stride\",\"_rundot_kinetix_ext_vehicle_size\",\"_rundot_kinetix_ext_vehicle_raycast_wheel\",\"_rundot_kinetix_ext_vehicle_shapecast_wheel\",\"_rundot_kinetix_ext_vehicle_evaluate_wheel\",\"_rundot_kinetix_ext_vehicle_compare_wheel\",\"_rundot_kinetix_ext_vehicle_solve_wheel\",\"_rundot_kinetix_ext_vehicle_step\",\"_rundot_kinetix_ext_vehicle_reset_contact\"]"
|
|
45
45
|
],
|
|
46
|
-
"simulationSourceHash": "
|
|
46
|
+
"simulationSourceHash": "07db6f75d32d5e3dcfb8587c381ef8087912698c01bc8c22edcc5e63276efe75"
|
|
47
47
|
});
|
|
48
48
|
// The bytes ship beside this module. The loader checks them against wasmSha256 before use.
|
|
49
49
|
export function physicsWasmUrl() {
|
|
Binary file
|
|
@@ -50,7 +50,7 @@ export const physics2dWasmMetadata = Object.freeze({
|
|
|
50
50
|
"sourceHash": "faa090a03a6fddaf79c704fb1d76f810955ff35597449c8cec9541a75905a37e",
|
|
51
51
|
"wasmSha256": "49cb90541deed40f5fff1015bb578e13ec9a793d51931c1227e3e5a11bbfa3f7",
|
|
52
52
|
"artifact": "production",
|
|
53
|
-
"packageVersion": "6.0.0-rc.
|
|
53
|
+
"packageVersion": "6.0.0-rc.76",
|
|
54
54
|
"compilerFlags": [
|
|
55
55
|
"-std=c++20",
|
|
56
56
|
"-O3",
|
package/dist/authority-room.d.ts
CHANGED
|
@@ -473,10 +473,35 @@ export interface DeterministicAuthorityRoom {
|
|
|
473
473
|
*/
|
|
474
474
|
reconfigureSession(next: DeterministicAuthorityRoomReconfiguration): void;
|
|
475
475
|
snapshot(): AuthorityRoomSnapshot;
|
|
476
|
+
/**
|
|
477
|
+
* Identity and timing diagnostics for this room. The windows derive from the room tick rate
|
|
478
|
+
* when the creator set no explicit value, so they are reported rather than recomputed by
|
|
479
|
+
* callers. `descriptorHash` covers seed, player count, tick rate, tolerance and generation
|
|
480
|
+
* only, which is why changing a window cannot invalidate a stored snapshot.
|
|
481
|
+
*/
|
|
482
|
+
authorityIdentity(): {
|
|
483
|
+
readonly descriptorHash: string;
|
|
484
|
+
readonly snapshotCadenceTicks: number;
|
|
485
|
+
readonly transferTimeoutTicks: number;
|
|
486
|
+
};
|
|
476
487
|
/** Raw bytes of the latest validated state snapshot (see AuthorityRoomSnapshot.latestSnapshot). */
|
|
477
488
|
latestSnapshotBytes(): string | undefined;
|
|
478
489
|
/** The retained confirmed-input tail (earliest retained .. frontier), for persistence (M6.5). */
|
|
479
490
|
confirmedTail(): readonly ConfirmedInputFrame[];
|
|
491
|
+
/**
|
|
492
|
+
* Native JSON size of the persisted tail, meaning the frames at or after the snapshot the
|
|
493
|
+
* room would persist from. The room server uses it as a lower bound on the persisted record,
|
|
494
|
+
* so an oversized record is rejected before it is built. `bytes` is undefined if native JSON
|
|
495
|
+
* cannot encode a suffix frame. `frames` is the suffix frame count.
|
|
496
|
+
*/
|
|
497
|
+
persistedTailBytes(): {
|
|
498
|
+
readonly bytes: number | undefined;
|
|
499
|
+
readonly frames: number;
|
|
500
|
+
};
|
|
501
|
+
/** Number of suffix frames, without activating byte measurement. */
|
|
502
|
+
persistedTailFrames(): number;
|
|
503
|
+
/** Release the optional byte cache after the adapter accepts a fitting record. */
|
|
504
|
+
releasePersistedTailByteMeasurements(): void;
|
|
480
505
|
/** After a restore: re-greet every seated player (session-start + snapshot + tail). */
|
|
481
506
|
resyncSeatedPlayers(): void;
|
|
482
507
|
/**
|
package/dist/authority-room.js
CHANGED
|
@@ -13,10 +13,19 @@ const DEFAULT_SECRET_MSG_TYPE = 'rdm-secret';
|
|
|
13
13
|
const DEFAULT_HISTORY_RETENTION_TICKS = 216_000;
|
|
14
14
|
/** Frames per history-replay unicast. Bounds message size during catch-up. */
|
|
15
15
|
const HISTORY_CHUNK_FRAMES = 500;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Snapshot cadence as wall-clock seconds. The tick count is derived from the room tick rate so
|
|
18
|
+
* the window holds its duration at any rate, not only at 60 Hz.
|
|
19
|
+
* See DeterministicAuthorityRoomConfig.snapshotCadenceTicks.
|
|
20
|
+
*/
|
|
21
|
+
const SNAPSHOT_CADENCE_SECONDS = 60;
|
|
22
|
+
/**
|
|
23
|
+
* Donor snapshot transfer timeout as wall-clock seconds, for the same reason.
|
|
24
|
+
* See DeterministicAuthorityRoomConfig.transferTimeoutTicks.
|
|
25
|
+
*/
|
|
26
|
+
const TRANSFER_TIMEOUT_SECONDS = 10;
|
|
27
|
+
/** Ticks covering `seconds` at `tickRateHz`. Never below 1, so a tiny rate cannot zero a window. */
|
|
28
|
+
const ticksForSeconds = (seconds, tickRateHz) => Math.max(1, Math.round(seconds * tickRateHz));
|
|
20
29
|
/** See DeterministicAuthorityRoomConfig.commandsPerSecond. */
|
|
21
30
|
const DEFAULT_COMMANDS_PER_SECOND = 60;
|
|
22
31
|
/** Per-slot ephemeral relay ceiling per one-second window (matches the client's outbound coalescing). */
|
|
@@ -255,8 +264,8 @@ export function createDeterministicAuthorityRoom(transport, config) {
|
|
|
255
264
|
}
|
|
256
265
|
return false;
|
|
257
266
|
}
|
|
258
|
-
const snapshotCadenceTicks = config.snapshotCadenceTicks ??
|
|
259
|
-
const transferTimeoutTicks = config.transferTimeoutTicks ??
|
|
267
|
+
const snapshotCadenceTicks = config.snapshotCadenceTicks ?? ticksForSeconds(SNAPSHOT_CADENCE_SECONDS, config.tickRateHz);
|
|
268
|
+
const transferTimeoutTicks = config.transferTimeoutTicks ?? ticksForSeconds(TRANSFER_TIMEOUT_SECONDS, config.tickRateHz);
|
|
260
269
|
const describeRoom = () => deterministicRoomDescriptorHash({
|
|
261
270
|
seed,
|
|
262
271
|
playerCount: config.playerCount,
|
|
@@ -333,6 +342,9 @@ export function createDeterministicAuthorityRoom(transport, config) {
|
|
|
333
342
|
...(restore.schemaHash === undefined ? {} : { schemaHash: restore.schemaHash }),
|
|
334
343
|
},
|
|
335
344
|
};
|
|
345
|
+
// A restored room persists from the same snapshot tick, so the byte-accounting suffix
|
|
346
|
+
// must start there rather than at the oldest retained frame.
|
|
347
|
+
authority.setPersistedTailStart(decoded.snapshot.tick);
|
|
336
348
|
}
|
|
337
349
|
else {
|
|
338
350
|
invariant(restore.tail[0]?.tick === 0, 'a snapshot-less restore requires history reaching tick 0', 'authority-room.restore-history');
|
|
@@ -1497,6 +1509,10 @@ export function createDeterministicAuthorityRoom(transport, config) {
|
|
|
1497
1509
|
if (config.preserveFullHistory !== true) {
|
|
1498
1510
|
authority.pruneConfirmedBefore(snapshot.tick);
|
|
1499
1511
|
}
|
|
1512
|
+
// The persisted record writes only the frames at or after the snapshot tick, so the byte
|
|
1513
|
+
// accounting suffix moves with it. This is the one moment the suffix changes shape without
|
|
1514
|
+
// a frame entering or leaving.
|
|
1515
|
+
authority.setPersistedTailStart(snapshot.tick);
|
|
1500
1516
|
nextCadenceTarget = (Math.floor(snapshot.tick / snapshotCadenceTicks) + 1) * snapshotCadenceTicks;
|
|
1501
1517
|
config.onSnapshotEvent?.({ kind: 'stored', donorId, tick: snapshot.tick });
|
|
1502
1518
|
}
|
|
@@ -2383,7 +2399,19 @@ export function createDeterministicAuthorityRoom(transport, config) {
|
|
|
2383
2399
|
latestSnapshotBytes() {
|
|
2384
2400
|
return storedSnapshot?.snapshotBytes;
|
|
2385
2401
|
},
|
|
2402
|
+
authorityIdentity() {
|
|
2403
|
+
return { descriptorHash: roomDescriptorHash, snapshotCadenceTicks, transferTimeoutTicks };
|
|
2404
|
+
},
|
|
2386
2405
|
confirmedTail,
|
|
2406
|
+
persistedTailBytes() {
|
|
2407
|
+
return { bytes: authority.persistedTailBytes(), frames: authority.persistedTailFrames() };
|
|
2408
|
+
},
|
|
2409
|
+
persistedTailFrames() {
|
|
2410
|
+
return authority.persistedTailFrames();
|
|
2411
|
+
},
|
|
2412
|
+
releasePersistedTailByteMeasurements() {
|
|
2413
|
+
authority.releaseByteMeasurements();
|
|
2414
|
+
},
|
|
2387
2415
|
resyncSeatedPlayers,
|
|
2388
2416
|
resyncPlayer(playerId) {
|
|
2389
2417
|
const slot = slotByPlayer.get(playerId);
|
package/dist/canonical.d.ts
CHANGED
|
@@ -21,4 +21,6 @@ export declare function checksumCanonicalJson(json: string): string;
|
|
|
21
21
|
export declare function encodeCanonicalBytes(value: unknown): Uint8Array;
|
|
22
22
|
export declare function decodeCanonicalBytes<T>(bytes: Uint8Array): T;
|
|
23
23
|
export declare function encodeUtf8(source: string): Uint8Array;
|
|
24
|
+
/** Count UTF-8 bytes without allocating an encoded buffer. */
|
|
25
|
+
export declare function utf8ByteLength(source: string): number;
|
|
24
26
|
export declare function decodeUtf8(bytes: Uint8Array): string;
|
package/dist/canonical.js
CHANGED
|
@@ -64,6 +64,28 @@ export function encodeUtf8(source) {
|
|
|
64
64
|
code: 'canonical.utf8-encoder',
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
+
/** Count UTF-8 bytes without allocating an encoded buffer. */
|
|
68
|
+
export function utf8ByteLength(source) {
|
|
69
|
+
if (typeof Buffer !== 'undefined')
|
|
70
|
+
return Buffer.byteLength(source, 'utf8');
|
|
71
|
+
let bytes = 0;
|
|
72
|
+
for (let index = 0; index < source.length; index += 1) {
|
|
73
|
+
const code = source.charCodeAt(index);
|
|
74
|
+
if (code < 0x80)
|
|
75
|
+
bytes += 1;
|
|
76
|
+
else if (code < 0x800)
|
|
77
|
+
bytes += 2;
|
|
78
|
+
else if (code >= 0xd800 && code <= 0xdbff
|
|
79
|
+
&& index + 1 < source.length
|
|
80
|
+
&& source.charCodeAt(index + 1) >= 0xdc00 && source.charCodeAt(index + 1) <= 0xdfff) {
|
|
81
|
+
bytes += 4;
|
|
82
|
+
index += 1;
|
|
83
|
+
}
|
|
84
|
+
else
|
|
85
|
+
bytes += 3;
|
|
86
|
+
}
|
|
87
|
+
return bytes;
|
|
88
|
+
}
|
|
67
89
|
export function decodeUtf8(bytes) {
|
|
68
90
|
if (typeof TextDecoder !== 'undefined') {
|
|
69
91
|
return new TextDecoder('utf-8', { fatal: true }).decode(bytes);
|
|
@@ -109,5 +109,20 @@ export interface InputAuthority {
|
|
|
109
109
|
neutralizeSlot(slot: number): void;
|
|
110
110
|
neutralizeSlotFrom(slot: number, effectiveTick: number): void;
|
|
111
111
|
stats(): InputAuthorityStats;
|
|
112
|
+
/**
|
|
113
|
+
* Native JSON size in UTF-8 bytes. Undefined if a retained frame cannot be encoded.
|
|
114
|
+
*/
|
|
115
|
+
retainedBytes(): number | undefined;
|
|
116
|
+
/** Native JSON size of the snapshot suffix. Undefined if a suffix frame cannot be encoded. */
|
|
117
|
+
persistedTailBytes(): number | undefined;
|
|
118
|
+
/** Number of frames counted by `persistedTailBytes()`. */
|
|
119
|
+
persistedTailFrames(): number;
|
|
120
|
+
/** Release cached measurements. A later byte query measures the current frames again. */
|
|
121
|
+
releaseByteMeasurements(): void;
|
|
122
|
+
/**
|
|
123
|
+
* Move the persisted-tail start. Called when a validated snapshot is stored, which is the
|
|
124
|
+
* only moment the persisted suffix changes shape without a frame moving.
|
|
125
|
+
*/
|
|
126
|
+
setPersistedTailStart(tick: number): void;
|
|
112
127
|
}
|
|
113
128
|
export declare function createInputAuthority(config: InputAuthorityConfig): InputAuthority;
|
package/dist/input-authority.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { canonicalStringify, cloneCanonical, defaultChecksum } from './canonical.js';
|
|
1
|
+
import { canonicalStringify, cloneCanonical, defaultChecksum, utf8ByteLength } from './canonical.js';
|
|
2
2
|
import { invariant } from './errors.js';
|
|
3
3
|
export function createInputAuthority(config) {
|
|
4
4
|
invariant(Number.isInteger(config.playerCount) && config.playerCount >= 1, 'playerCount must be a positive integer', 'input-authority.player-count');
|
|
@@ -21,6 +21,84 @@ export function createInputAuthority(config) {
|
|
|
21
21
|
let confirmedThrough = -1;
|
|
22
22
|
let earliestRetained = -1;
|
|
23
23
|
let confirmedTicks = 0;
|
|
24
|
+
// Measure retained frames on the first byte query. While measurement is active, measure each
|
|
25
|
+
// new frame once and subtract its stored cost when it leaves.
|
|
26
|
+
const frameBytesByTick = new Map();
|
|
27
|
+
let measuringFrameBytes = false;
|
|
28
|
+
let retainedBytesTotal = 0;
|
|
29
|
+
let retainedUnencodableFrames = 0;
|
|
30
|
+
let persistedTailStart = 0;
|
|
31
|
+
let persistedTailByteTotal = 0;
|
|
32
|
+
let persistedTailUnencodableFrames = 0;
|
|
33
|
+
/**
|
|
34
|
+
* Encoded size of one frame as the record will serialize it. A frame can carry canonical
|
|
35
|
+
* values that native JSON cannot encode (a BigInt is the known case), and measurement must
|
|
36
|
+
* never stop confirmation. An encoding failure remains distinct from a measured size.
|
|
37
|
+
*/
|
|
38
|
+
function frameCost(frame) {
|
|
39
|
+
try {
|
|
40
|
+
return utf8ByteLength(JSON.stringify(frame));
|
|
41
|
+
}
|
|
42
|
+
catch {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function noteFrameInserted(tick, frame) {
|
|
47
|
+
if (!measuringFrameBytes)
|
|
48
|
+
return;
|
|
49
|
+
const cost = frameCost(frame);
|
|
50
|
+
frameBytesByTick.set(tick, cost);
|
|
51
|
+
if (cost === undefined)
|
|
52
|
+
retainedUnencodableFrames += 1;
|
|
53
|
+
else
|
|
54
|
+
retainedBytesTotal += cost;
|
|
55
|
+
if (tick >= persistedTailStart) {
|
|
56
|
+
if (cost === undefined)
|
|
57
|
+
persistedTailUnencodableFrames += 1;
|
|
58
|
+
else
|
|
59
|
+
persistedTailByteTotal += cost;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function noteFrameRemoved(tick) {
|
|
63
|
+
if (!measuringFrameBytes)
|
|
64
|
+
return;
|
|
65
|
+
const cost = frameBytesByTick.get(tick);
|
|
66
|
+
if (cost === undefined && !frameBytesByTick.has(tick))
|
|
67
|
+
return;
|
|
68
|
+
frameBytesByTick.delete(tick);
|
|
69
|
+
if (cost === undefined)
|
|
70
|
+
retainedUnencodableFrames -= 1;
|
|
71
|
+
else
|
|
72
|
+
retainedBytesTotal -= cost;
|
|
73
|
+
if (tick >= persistedTailStart) {
|
|
74
|
+
if (cost === undefined)
|
|
75
|
+
persistedTailUnencodableFrames -= 1;
|
|
76
|
+
else
|
|
77
|
+
persistedTailByteTotal -= cost;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/** Recompute the persisted suffix after the tail start moves. Bounded by the retained window. */
|
|
81
|
+
function recomputePersistedTail() {
|
|
82
|
+
let bytes = 0;
|
|
83
|
+
let unencodableFrames = 0;
|
|
84
|
+
for (const [tick, cost] of frameBytesByTick) {
|
|
85
|
+
if (tick >= persistedTailStart) {
|
|
86
|
+
if (cost === undefined)
|
|
87
|
+
unencodableFrames += 1;
|
|
88
|
+
else
|
|
89
|
+
bytes += cost;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
persistedTailByteTotal = bytes;
|
|
93
|
+
persistedTailUnencodableFrames = unencodableFrames;
|
|
94
|
+
}
|
|
95
|
+
function measureRetainedFrames() {
|
|
96
|
+
if (measuringFrameBytes)
|
|
97
|
+
return;
|
|
98
|
+
measuringFrameBytes = true;
|
|
99
|
+
for (const [tick, frame] of retained)
|
|
100
|
+
noteFrameInserted(tick, frame);
|
|
101
|
+
}
|
|
24
102
|
if (config.restoreFrom !== undefined) {
|
|
25
103
|
const { confirmedThrough: restoredThrough, frames } = config.restoreFrom;
|
|
26
104
|
invariant(frames.length > 0, 'restoreFrom requires at least one frame', 'input-authority.restore-empty');
|
|
@@ -44,6 +122,7 @@ export function createInputAuthority(config) {
|
|
|
44
122
|
}
|
|
45
123
|
const clonedFrame = deepFreeze(cloneCanonical(frame));
|
|
46
124
|
retained.set(frame.tick, clonedFrame);
|
|
125
|
+
noteFrameInserted(frame.tick, clonedFrame);
|
|
47
126
|
}
|
|
48
127
|
invariant(frames[frames.length - 1].tick === restoredThrough, 'restoreFrom frames must end at the restored frontier', 'input-authority.restore-frontier');
|
|
49
128
|
earliestRetained = frames[0].tick;
|
|
@@ -172,16 +251,19 @@ export function createInputAuthority(config) {
|
|
|
172
251
|
checksum: String(defaultChecksum(checksumPayload)),
|
|
173
252
|
});
|
|
174
253
|
retained.set(tick, frame);
|
|
254
|
+
noteFrameInserted(tick, frame);
|
|
175
255
|
if (earliestRetained === -1) {
|
|
176
256
|
earliestRetained = tick;
|
|
177
257
|
}
|
|
178
258
|
while (retained.size > retainedConfirmedFrames) {
|
|
179
259
|
if (retained.delete(earliestRetained)) {
|
|
260
|
+
noteFrameRemoved(earliestRetained);
|
|
180
261
|
earliestRetained += 1;
|
|
181
262
|
}
|
|
182
263
|
else {
|
|
183
264
|
const minTick = Math.min(...retained.keys());
|
|
184
265
|
retained.delete(minTick);
|
|
266
|
+
noteFrameRemoved(minTick);
|
|
185
267
|
earliestRetained = minTick + 1;
|
|
186
268
|
}
|
|
187
269
|
}
|
|
@@ -287,6 +369,7 @@ export function createInputAuthority(config) {
|
|
|
287
369
|
}
|
|
288
370
|
for (let t = earliestRetained; t < tick; t += 1) {
|
|
289
371
|
retained.delete(t);
|
|
372
|
+
noteFrameRemoved(t);
|
|
290
373
|
}
|
|
291
374
|
earliestRetained = tick;
|
|
292
375
|
},
|
|
@@ -327,6 +410,32 @@ export function createInputAuthority(config) {
|
|
|
327
410
|
scheduled.add(slot);
|
|
328
411
|
}
|
|
329
412
|
},
|
|
413
|
+
retainedBytes() {
|
|
414
|
+
measureRetainedFrames();
|
|
415
|
+
return retainedUnencodableFrames === 0 ? retainedBytesTotal : undefined;
|
|
416
|
+
},
|
|
417
|
+
persistedTailBytes() {
|
|
418
|
+
measureRetainedFrames();
|
|
419
|
+
return persistedTailUnencodableFrames === 0 ? persistedTailByteTotal : undefined;
|
|
420
|
+
},
|
|
421
|
+
persistedTailFrames() {
|
|
422
|
+
return Math.max(0, confirmedThrough - Math.max(earliestRetained, persistedTailStart) + 1);
|
|
423
|
+
},
|
|
424
|
+
releaseByteMeasurements() {
|
|
425
|
+
measuringFrameBytes = false;
|
|
426
|
+
frameBytesByTick.clear();
|
|
427
|
+
retainedBytesTotal = 0;
|
|
428
|
+
retainedUnencodableFrames = 0;
|
|
429
|
+
persistedTailByteTotal = 0;
|
|
430
|
+
persistedTailUnencodableFrames = 0;
|
|
431
|
+
},
|
|
432
|
+
setPersistedTailStart(tick) {
|
|
433
|
+
invariant(Number.isInteger(tick) && tick >= 0, 'setPersistedTailStart requires a non-negative integer tick', 'input-authority.tail-start');
|
|
434
|
+
if (tick === persistedTailStart)
|
|
435
|
+
return;
|
|
436
|
+
persistedTailStart = tick;
|
|
437
|
+
recomputePersistedTail();
|
|
438
|
+
},
|
|
330
439
|
stats() {
|
|
331
440
|
return { confirmedTicks, substitutedInputs, droppedLateInputs, rejectedFutureInputs };
|
|
332
441
|
},
|
package/package.json
CHANGED