@adatechnology/game-characters-three 0.9.3 → 0.9.5

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.
@@ -3665,7 +3665,7 @@ var personSpecOf = (profession) => {
3665
3665
  };
3666
3666
 
3667
3667
  // src/test-area/knock.ts
3668
- import { bodyMass, KNOCK_CHEST, KNOCK_DOWN_SPEED, KNOCKED_DOWN_ANGLE, knockOf, stepKnock } from "@adatechnology/game-contracts";
3668
+ import { bodyMass, KNOCK_CHEST, KNOCK_DOWN_SPEED, KNOCKED_DOWN_ANGLE, knockOf, stepKnock, takeLaunch } from "@adatechnology/game-contracts";
3669
3669
 
3670
3670
  // src/test-area/scenarios.ts
3671
3671
  import { SEGMENT_IDS } from "@adatechnology/game-characters";
@@ -4081,6 +4081,8 @@ function createCharactersTestModule(options = {}) {
4081
4081
  };
4082
4082
  const animate = (entry, dt) => {
4083
4083
  const { root, character } = entry;
4084
+ const launched = takeLaunch(root);
4085
+ if (launched) entry.knock = launched;
4084
4086
  if (entry.knock) {
4085
4087
  const rig = root.userData.rig;
4086
4088
  const ground = (x, z) => host?.groundAt(x, z) ?? 0;
@@ -4611,4 +4613,4 @@ export {
4611
4613
  AVATAR_AREA_ID,
4612
4614
  createAvatarTestModule
4613
4615
  };
4614
- //# sourceMappingURL=chunk-XSMP7T6O.js.map
4616
+ //# sourceMappingURL=chunk-IBMIWGWX.js.map