hytopia 0.1.38 → 0.1.41
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/bin/scripts.js +10 -1
- package/docs/server.basecharactercontroller.createcolliders.md +19 -0
- package/docs/server.basecharactercontroller.md +2 -2
- package/docs/server.blocktype.md +1 -1
- package/docs/server.blocktype.onentitycollision.md +6 -1
- package/docs/server.blocktype.onentitycontactforce.md +5 -0
- package/docs/server.coefficientcombinerule.md +89 -0
- package/docs/server.collider.getbouncinesscombinerule.md +19 -0
- package/docs/server.collider.getfrictioncombinerule.md +19 -0
- package/docs/server.collider.md +56 -0
- package/docs/server.collider.setbouncinesscombinerule.md +53 -0
- package/docs/server.collider.setfrictioncombinerule.md +53 -0
- package/docs/server.collideroptions.bouncinesscombinerule.md +13 -0
- package/docs/server.collideroptions.frictioncombinerule.md +13 -0
- package/docs/server.collideroptions.indices.md +13 -0
- package/docs/server.collideroptions.md +76 -0
- package/docs/server.collideroptions.vertices.md +13 -0
- package/docs/server.collidershape.md +14 -0
- package/docs/server.collisioncallback.md +1 -1
- package/docs/{server.defaultcharactercontroller.createsensorcolliders.md → server.defaultcharactercontroller.createcolliders.md} +4 -4
- package/docs/server.defaultcharactercontroller.md +2 -2
- package/docs/server.entity.isblockentity.md +13 -0
- package/docs/server.entity.ismodelentity.md +13 -0
- package/docs/server.entity.md +44 -2
- package/docs/server.entity.onblockcollision.md +6 -1
- package/docs/server.entity.onblockcontactforce.md +5 -0
- package/docs/server.entity.onentitycollision.md +6 -1
- package/docs/server.entity.onentitycontactforce.md +5 -0
- package/docs/server.entity.startmodelloopedanimations.md +4 -0
- package/docs/server.entity.startmodeloneshotanimations.md +4 -0
- package/docs/server.entity.stopmodelanimations.md +4 -0
- package/docs/server.hytopia.basecharactercontroller.createcolliders.md +19 -0
- package/docs/server.hytopia.basecharactercontroller.md +2 -2
- package/docs/server.hytopia.blocktype.md +1 -1
- package/docs/server.hytopia.blocktype.onentitycollision.md +6 -1
- package/docs/server.hytopia.blocktype.onentitycontactforce.md +5 -0
- package/docs/server.hytopia.coefficientcombinerule.md +89 -0
- package/docs/server.hytopia.collider.getbouncinesscombinerule.md +19 -0
- package/docs/server.hytopia.collider.getfrictioncombinerule.md +19 -0
- package/docs/server.hytopia.collider.md +56 -0
- package/docs/server.hytopia.collider.setbouncinesscombinerule.md +53 -0
- package/docs/server.hytopia.collider.setfrictioncombinerule.md +53 -0
- package/docs/server.hytopia.collideroptions.bouncinesscombinerule.md +13 -0
- package/docs/server.hytopia.collideroptions.frictioncombinerule.md +13 -0
- package/docs/server.hytopia.collideroptions.indices.md +13 -0
- package/docs/server.hytopia.collideroptions.md +76 -0
- package/docs/server.hytopia.collideroptions.vertices.md +13 -0
- package/docs/server.hytopia.collidershape.md +14 -0
- package/docs/server.hytopia.collisioncallback.md +1 -1
- package/docs/server.hytopia.defaultcharactercontroller.createcolliders.md +19 -0
- package/docs/server.hytopia.defaultcharactercontroller.md +2 -2
- package/docs/server.hytopia.entity.isblockentity.md +13 -0
- package/docs/server.hytopia.entity.ismodelentity.md +13 -0
- package/docs/server.hytopia.entity.md +44 -2
- package/docs/server.hytopia.entity.onblockcollision.md +6 -1
- package/docs/server.hytopia.entity.onblockcontactforce.md +5 -0
- package/docs/server.hytopia.entity.onentitycollision.md +6 -1
- package/docs/server.hytopia.entity.onentitycontactforce.md +5 -0
- package/docs/server.hytopia.entity.startmodelloopedanimations.md +4 -0
- package/docs/server.hytopia.entity.startmodeloneshotanimations.md +4 -0
- package/docs/server.hytopia.entity.stopmodelanimations.md +4 -0
- package/docs/server.hytopia.md +11 -0
- package/docs/server.hytopia.simulation.getcontactmanifolds.md +75 -0
- package/docs/server.hytopia.simulation.md +14 -0
- package/docs/server.md +11 -0
- package/docs/server.simulation.getcontactmanifolds.md +75 -0
- package/docs/server.simulation.md +14 -0
- package/examples/big-world/README.md +15 -0
- package/examples/big-world/index.ts +41 -0
- package/examples/block-entity/index.ts +4 -1
- package/examples/character-controller/MyCharacterController.ts +25 -5
- package/examples/character-controller/index.ts +3 -1
- package/examples/entity-spawn/index.ts +3 -1
- package/examples/payload-game/index.ts +2 -2
- package/package.json +1 -1
- package/server.api.json +1256 -58
- package/server.d.ts +120 -14
- package/server.js +79 -79
- package/boilerplate/assets/audio/music/cave.mp3 +0 -0
- package/boilerplate/assets/audio/music/desert.mp3 +0 -0
- package/boilerplate/assets/audio/music/end.mp3 +0 -0
- package/boilerplate/assets/audio/music/jungle.mp3 +0 -0
- package/boilerplate/assets/audio/music/nether.mp3 +0 -0
- package/boilerplate/assets/audio/music/night.mp3 +0 -0
- package/boilerplate/assets/audio/music/night2.mp3 +0 -0
- package/boilerplate/assets/audio/music/overworld.mp3 +0 -0
- package/boilerplate/assets/audio/music/snow.mp3 +0 -0
- package/boilerplate/assets/audio/sfx/damage.wav +0 -0
- package/boilerplate/assets/audio/sfx/step.wav +0 -0
- package/boilerplate/assets/certs/README.md +0 -10
- package/boilerplate/assets/certs/localhost.crt +0 -20
- package/boilerplate/assets/certs/localhost.key +0 -27
- package/boilerplate/assets/cubemaps/skybox/+x.png +0 -0
- package/boilerplate/assets/cubemaps/skybox/+y.png +0 -0
- package/boilerplate/assets/cubemaps/skybox/+z.png +0 -0
- package/boilerplate/assets/cubemaps/skybox/-x.png +0 -0
- package/boilerplate/assets/cubemaps/skybox/-y.png +0 -0
- package/boilerplate/assets/cubemaps/skybox/-z.png +0 -0
- package/boilerplate/assets/map.json +0 -2623
- package/boilerplate/assets/models/bat.gltf +0 -1
- package/boilerplate/assets/models/chicken.gltf +0 -1
- package/boilerplate/assets/models/cow.gltf +0 -1
- package/boilerplate/assets/models/donkey.gltf +0 -1
- package/boilerplate/assets/models/horse.gltf +0 -1
- package/boilerplate/assets/models/mindflayer.gltf +0 -1
- package/boilerplate/assets/models/pig.gltf +0 -1
- package/boilerplate/assets/models/player.gltf +0 -1
- package/boilerplate/assets/models/rabbit.gltf +0 -1
- package/boilerplate/assets/models/sheep.gltf +0 -1
- package/boilerplate/assets/models/skeleton.gltf +0 -1
- package/boilerplate/assets/models/spider.gltf +0 -1
- package/boilerplate/assets/models/squid.gltf +0 -1
- package/boilerplate/assets/models/stalker.gltf +0 -1
- package/boilerplate/assets/models/zombie.gltf +0 -1
- package/boilerplate/assets/textures/bricks.png +0 -0
- package/boilerplate/assets/textures/clay.png +0 -0
- package/boilerplate/assets/textures/cobblestone.png +0 -0
- package/boilerplate/assets/textures/diamond_ore.png +0 -0
- package/boilerplate/assets/textures/dirt.png +0 -0
- package/boilerplate/assets/textures/dragons_stone.png +0 -0
- package/boilerplate/assets/textures/emerald_ore.png +0 -0
- package/boilerplate/assets/textures/glass.png +0 -0
- package/boilerplate/assets/textures/gold_ore.png +0 -0
- package/boilerplate/assets/textures/grass/+x.png +0 -0
- package/boilerplate/assets/textures/grass/+y.png +0 -0
- package/boilerplate/assets/textures/grass/+z.png +0 -0
- package/boilerplate/assets/textures/grass/-x.png +0 -0
- package/boilerplate/assets/textures/grass/-y.png +0 -0
- package/boilerplate/assets/textures/grass/-z.png +0 -0
- package/boilerplate/assets/textures/gravel.png +0 -0
- package/boilerplate/assets/textures/ice.png +0 -0
- package/boilerplate/assets/textures/infected_shadowrock.png +0 -0
- package/boilerplate/assets/textures/iron_ore.png +0 -0
- package/boilerplate/assets/textures/lava.png +0 -0
- package/boilerplate/assets/textures/log_side.png +0 -0
- package/boilerplate/assets/textures/log_top.png +0 -0
- package/boilerplate/assets/textures/mossy_coblestone.png +0 -0
- package/boilerplate/assets/textures/nuit.png +0 -0
- package/boilerplate/assets/textures/oak_leaves.png +0 -0
- package/boilerplate/assets/textures/oak_planks.png +0 -0
- package/boilerplate/assets/textures/sand.png +0 -0
- package/boilerplate/assets/textures/sandstone.png +0 -0
- package/boilerplate/assets/textures/shadowrock.png +0 -0
- package/boilerplate/assets/textures/snow.png +0 -0
- package/boilerplate/assets/textures/stone.png +0 -0
- package/boilerplate/assets/textures/stone_bricks.png +0 -0
- package/boilerplate/assets/textures/void_grass/+x.png +0 -0
- package/boilerplate/assets/textures/void_grass/+y.png +0 -0
- package/boilerplate/assets/textures/void_grass/+z.png +0 -0
- package/boilerplate/assets/textures/void_grass/-x.png +0 -0
- package/boilerplate/assets/textures/void_grass/-y.png +0 -0
- package/boilerplate/assets/textures/void_grass/-z.png +0 -0
- package/boilerplate/assets/textures/void_sand.png +0 -0
- package/boilerplate/assets/textures/water.png +0 -0
- package/docs/server.basecharactercontroller.createsensorcolliders.md +0 -19
- package/docs/server.hytopia.basecharactercontroller.createsensorcolliders.md +0 -19
- package/docs/server.hytopia.defaultcharactercontroller.createsensorcolliders.md +0 -19
- package/examples/block-entity/assets/audio/music/cave.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/desert.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/end.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/jungle.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/nether.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night2.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/overworld.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/snow.mp3 +0 -0
- package/examples/block-entity/assets/audio/sfx/damage.wav +0 -0
- package/examples/block-entity/assets/audio/sfx/step.wav +0 -0
- package/examples/block-entity/assets/certs/README.md +0 -10
- package/examples/block-entity/assets/certs/localhost.crt +0 -20
- package/examples/block-entity/assets/certs/localhost.key +0 -27
- package/examples/block-entity/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/block-entity/assets/map.json +0 -2623
- package/examples/block-entity/assets/models/bat.gltf +0 -1
- package/examples/block-entity/assets/models/chicken.gltf +0 -1
- package/examples/block-entity/assets/models/cow.gltf +0 -1
- package/examples/block-entity/assets/models/donkey.gltf +0 -1
- package/examples/block-entity/assets/models/horse.gltf +0 -1
- package/examples/block-entity/assets/models/mindflayer.gltf +0 -1
- package/examples/block-entity/assets/models/pig.gltf +0 -1
- package/examples/block-entity/assets/models/player.gltf +0 -1
- package/examples/block-entity/assets/models/rabbit.gltf +0 -1
- package/examples/block-entity/assets/models/sheep.gltf +0 -1
- package/examples/block-entity/assets/models/skeleton.gltf +0 -1
- package/examples/block-entity/assets/models/spider.gltf +0 -1
- package/examples/block-entity/assets/models/squid.gltf +0 -1
- package/examples/block-entity/assets/models/stalker.gltf +0 -1
- package/examples/block-entity/assets/models/zombie.gltf +0 -1
- package/examples/block-entity/assets/textures/bricks.png +0 -0
- package/examples/block-entity/assets/textures/clay.png +0 -0
- package/examples/block-entity/assets/textures/cobblestone.png +0 -0
- package/examples/block-entity/assets/textures/diamond_ore.png +0 -0
- package/examples/block-entity/assets/textures/dirt.png +0 -0
- package/examples/block-entity/assets/textures/dragons_stone.png +0 -0
- package/examples/block-entity/assets/textures/emerald_ore.png +0 -0
- package/examples/block-entity/assets/textures/glass.png +0 -0
- package/examples/block-entity/assets/textures/gold_ore.png +0 -0
- package/examples/block-entity/assets/textures/grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/gravel.png +0 -0
- package/examples/block-entity/assets/textures/ice.png +0 -0
- package/examples/block-entity/assets/textures/infected_shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/iron_ore.png +0 -0
- package/examples/block-entity/assets/textures/lava.png +0 -0
- package/examples/block-entity/assets/textures/log_side.png +0 -0
- package/examples/block-entity/assets/textures/log_top.png +0 -0
- package/examples/block-entity/assets/textures/mossy_coblestone.png +0 -0
- package/examples/block-entity/assets/textures/nuit.png +0 -0
- package/examples/block-entity/assets/textures/oak_leaves.png +0 -0
- package/examples/block-entity/assets/textures/oak_planks.png +0 -0
- package/examples/block-entity/assets/textures/sand.png +0 -0
- package/examples/block-entity/assets/textures/sandstone.png +0 -0
- package/examples/block-entity/assets/textures/shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/snow.png +0 -0
- package/examples/block-entity/assets/textures/stone.png +0 -0
- package/examples/block-entity/assets/textures/stone_bricks.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/void_sand.png +0 -0
- package/examples/block-entity/assets/textures/water.png +0 -0
- package/examples/block-entity/package.json +0 -14
- package/examples/character-controller/assets/audio/sfx/damage.wav +0 -0
- package/examples/character-controller/assets/audio/sfx/step.wav +0 -0
- package/examples/character-controller/assets/certs/README.md +0 -10
- package/examples/character-controller/assets/certs/localhost.crt +0 -20
- package/examples/character-controller/assets/certs/localhost.key +0 -27
- package/examples/character-controller/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/character-controller/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/character-controller/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/character-controller/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/character-controller/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/character-controller/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/character-controller/assets/map.json +0 -2623
- package/examples/character-controller/assets/models/player.gltf +0 -1
- package/examples/character-controller/assets/textures/bricks.png +0 -0
- package/examples/character-controller/assets/textures/clay.png +0 -0
- package/examples/character-controller/assets/textures/diamond_ore.png +0 -0
- package/examples/character-controller/assets/textures/dirt.png +0 -0
- package/examples/character-controller/assets/textures/dragons_stone.png +0 -0
- package/examples/character-controller/assets/textures/glass.png +0 -0
- package/examples/character-controller/assets/textures/grass/+x.png +0 -0
- package/examples/character-controller/assets/textures/grass/+y.png +0 -0
- package/examples/character-controller/assets/textures/grass/+z.png +0 -0
- package/examples/character-controller/assets/textures/grass/-x.png +0 -0
- package/examples/character-controller/assets/textures/grass/-y.png +0 -0
- package/examples/character-controller/assets/textures/grass/-z.png +0 -0
- package/examples/character-controller/assets/textures/grass.png +0 -0
- package/examples/character-controller/assets/textures/gravel.png +0 -0
- package/examples/character-controller/assets/textures/ice.png +0 -0
- package/examples/character-controller/assets/textures/infected_shadowrock.png +0 -0
- package/examples/character-controller/assets/textures/log_side.png +0 -0
- package/examples/character-controller/assets/textures/log_top.png +0 -0
- package/examples/character-controller/assets/textures/mossy_coblestone.png +0 -0
- package/examples/character-controller/assets/textures/nuit.png +0 -0
- package/examples/character-controller/assets/textures/oak_leaves.png +0 -0
- package/examples/character-controller/assets/textures/oak_planks.png +0 -0
- package/examples/character-controller/assets/textures/sand.png +0 -0
- package/examples/character-controller/assets/textures/shadowrock.png +0 -0
- package/examples/character-controller/assets/textures/stone.png +0 -0
- package/examples/character-controller/assets/textures/stone_bricks.png +0 -0
- package/examples/character-controller/assets/textures/void_sand.png +0 -0
- package/examples/character-controller/assets/textures/water_still.png +0 -0
- package/examples/entity-spawn/assets/certs/README.md +0 -10
- package/examples/entity-spawn/assets/certs/localhost.crt +0 -20
- package/examples/entity-spawn/assets/certs/localhost.key +0 -27
- package/examples/entity-spawn/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/entity-spawn/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/entity-spawn/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/entity-spawn/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/entity-spawn/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/entity-spawn/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/entity-spawn/assets/map.json +0 -2623
- package/examples/entity-spawn/assets/models/player.gltf +0 -1
- package/examples/entity-spawn/assets/models/spider.gltf +0 -1
- package/examples/entity-spawn/assets/textures/bricks.png +0 -0
- package/examples/entity-spawn/assets/textures/clay.png +0 -0
- package/examples/entity-spawn/assets/textures/diamond_ore.png +0 -0
- package/examples/entity-spawn/assets/textures/dirt.png +0 -0
- package/examples/entity-spawn/assets/textures/dragons_stone.png +0 -0
- package/examples/entity-spawn/assets/textures/glass.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/+x.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/+y.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/+z.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/-x.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/-y.png +0 -0
- package/examples/entity-spawn/assets/textures/grass/-z.png +0 -0
- package/examples/entity-spawn/assets/textures/grass.png +0 -0
- package/examples/entity-spawn/assets/textures/gravel.png +0 -0
- package/examples/entity-spawn/assets/textures/ice.png +0 -0
- package/examples/entity-spawn/assets/textures/infected_shadowrock.png +0 -0
- package/examples/entity-spawn/assets/textures/log_side.png +0 -0
- package/examples/entity-spawn/assets/textures/log_top.png +0 -0
- package/examples/entity-spawn/assets/textures/mossy_coblestone.png +0 -0
- package/examples/entity-spawn/assets/textures/nuit.png +0 -0
- package/examples/entity-spawn/assets/textures/oak_leaves.png +0 -0
- package/examples/entity-spawn/assets/textures/oak_planks.png +0 -0
- package/examples/entity-spawn/assets/textures/sand.png +0 -0
- package/examples/entity-spawn/assets/textures/shadowrock.png +0 -0
- package/examples/entity-spawn/assets/textures/stone.png +0 -0
- package/examples/entity-spawn/assets/textures/stone_bricks.png +0 -0
- package/examples/entity-spawn/assets/textures/void_sand.png +0 -0
- package/examples/entity-spawn/assets/textures/water_still.png +0 -0
- package/examples/payload-game/assets/certs/README.md +0 -10
- package/examples/payload-game/assets/certs/localhost.crt +0 -20
- package/examples/payload-game/assets/certs/localhost.key +0 -27
- package/examples/payload-game/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/payload-game/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/payload-game/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/payload-game/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/payload-game/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/payload-game/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/payload-game/assets/models/spider.gltf +0 -1
- package/examples/payload-game/assets/textures/dragons_stone.png +0 -0
- package/examples/payload-game/assets/textures/infected_shadowrock.png +0 -0
- package/examples/payload-game/assets/textures/shadowrock.png +0 -0
- package/examples/payload-game/assets/textures/stone.png +0 -0
- package/examples/payload-game/assets/textures/stone_bricks.png +0 -0
- package/examples/payload-game/assets/textures/void_sand.png +0 -0
package/server.api.json
CHANGED
@@ -2688,12 +2688,12 @@
|
|
2688
2688
|
},
|
2689
2689
|
{
|
2690
2690
|
"kind": "Method",
|
2691
|
-
"canonicalReference": "server!BaseCharacterController#
|
2692
|
-
"docComment": "/**\n * Override this method to create
|
2691
|
+
"canonicalReference": "server!BaseCharacterController#createColliders:member(1)",
|
2692
|
+
"docComment": "/**\n * Override this method to create controller specific colliders to be attached to the controlled entity when it spawns.\n *\n * @returns An array of colliders.\n */\n",
|
2693
2693
|
"excerptTokens": [
|
2694
2694
|
{
|
2695
2695
|
"kind": "Content",
|
2696
|
-
"text": "
|
2696
|
+
"text": "createColliders(): "
|
2697
2697
|
},
|
2698
2698
|
{
|
2699
2699
|
"kind": "Reference",
|
@@ -2720,7 +2720,7 @@
|
|
2720
2720
|
"parameters": [],
|
2721
2721
|
"isOptional": false,
|
2722
2722
|
"isAbstract": false,
|
2723
|
-
"name": "
|
2723
|
+
"name": "createColliders"
|
2724
2724
|
},
|
2725
2725
|
{
|
2726
2726
|
"kind": "Property",
|
@@ -3227,7 +3227,7 @@
|
|
3227
3227
|
{
|
3228
3228
|
"kind": "Property",
|
3229
3229
|
"canonicalReference": "server!BlockType#onEntityCollision:member",
|
3230
|
-
"docComment": "/**\n * A callback function that is invoked when an entity collides with blocks of this type.\n *\n * @param blockType - The block type the collision is for.\n *\n * @param entity - The entity that collided with the block type.\n *\n * @param started - Whether the collision started.\n */\n",
|
3230
|
+
"docComment": "/**\n * A callback function that is invoked when an entity collides with blocks of this type.\n *\n * @remarks\n *\n * This must be set before a block of this type is created. If it is set after a block is created, only future created blocks of this type will have the callback set.\n *\n * @param blockType - The block type the collision is for.\n *\n * @param entity - The entity that collided with the block type.\n *\n * @param started - Whether the collision started.\n */\n",
|
3231
3231
|
"excerptTokens": [
|
3232
3232
|
{
|
3233
3233
|
"kind": "Content",
|
@@ -3235,7 +3235,7 @@
|
|
3235
3235
|
},
|
3236
3236
|
{
|
3237
3237
|
"kind": "Content",
|
3238
|
-
"text": "(blockType: "
|
3238
|
+
"text": "((blockType: "
|
3239
3239
|
},
|
3240
3240
|
{
|
3241
3241
|
"kind": "Reference",
|
@@ -3253,7 +3253,25 @@
|
|
3253
3253
|
},
|
3254
3254
|
{
|
3255
3255
|
"kind": "Content",
|
3256
|
-
"text": ", started: boolean) => void"
|
3256
|
+
"text": ", started: boolean) => void) | ((blockType: "
|
3257
|
+
},
|
3258
|
+
{
|
3259
|
+
"kind": "Reference",
|
3260
|
+
"text": "BlockType",
|
3261
|
+
"canonicalReference": "server!BlockType:class"
|
3262
|
+
},
|
3263
|
+
{
|
3264
|
+
"kind": "Content",
|
3265
|
+
"text": ", entity: "
|
3266
|
+
},
|
3267
|
+
{
|
3268
|
+
"kind": "Reference",
|
3269
|
+
"text": "Entity",
|
3270
|
+
"canonicalReference": "server!Entity:class"
|
3271
|
+
},
|
3272
|
+
{
|
3273
|
+
"kind": "Content",
|
3274
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
3257
3275
|
},
|
3258
3276
|
{
|
3259
3277
|
"kind": "Content",
|
@@ -3266,7 +3284,7 @@
|
|
3266
3284
|
"name": "onEntityCollision",
|
3267
3285
|
"propertyTypeTokenRange": {
|
3268
3286
|
"startIndex": 1,
|
3269
|
-
"endIndex":
|
3287
|
+
"endIndex": 10
|
3270
3288
|
},
|
3271
3289
|
"isStatic": false,
|
3272
3290
|
"isProtected": false,
|
@@ -3275,7 +3293,7 @@
|
|
3275
3293
|
{
|
3276
3294
|
"kind": "Property",
|
3277
3295
|
"canonicalReference": "server!BlockType#onEntityContactForce:member",
|
3278
|
-
"docComment": "/**\n * A callback function that is invoked when an entity contacts a block of this type.\n *\n * @param blockType - The block type the contact is for.\n *\n * @param entity - The entity that contacted the block type.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
3296
|
+
"docComment": "/**\n * A callback function that is invoked when an entity contacts a block of this type.\n *\n * @remarks\n *\n * This must be set before a block of this type is created. If it is set after a block is created, only future created blocks of this type will have the callback set.\n *\n * @param blockType - The block type the contact is for.\n *\n * @param entity - The entity that contacted the block type.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
3279
3297
|
"excerptTokens": [
|
3280
3298
|
{
|
3281
3299
|
"kind": "Content",
|
@@ -5769,6 +5787,107 @@
|
|
5769
5787
|
],
|
5770
5788
|
"implementsTokenRanges": []
|
5771
5789
|
},
|
5790
|
+
{
|
5791
|
+
"kind": "Enum",
|
5792
|
+
"canonicalReference": "server!CoefficientCombineRule:enum",
|
5793
|
+
"docComment": "/**\n * The coefficient for friction or bounciness combine rule.\n *\n * @public\n */\n",
|
5794
|
+
"excerptTokens": [
|
5795
|
+
{
|
5796
|
+
"kind": "Content",
|
5797
|
+
"text": "export declare enum CoefficientCombineRule "
|
5798
|
+
}
|
5799
|
+
],
|
5800
|
+
"fileUrlPath": "src/world/physics/Collider.ts",
|
5801
|
+
"releaseTag": "Public",
|
5802
|
+
"name": "CoefficientCombineRule",
|
5803
|
+
"preserveMemberOrder": false,
|
5804
|
+
"members": [
|
5805
|
+
{
|
5806
|
+
"kind": "EnumMember",
|
5807
|
+
"canonicalReference": "server!CoefficientCombineRule.Average:member",
|
5808
|
+
"docComment": "",
|
5809
|
+
"excerptTokens": [
|
5810
|
+
{
|
5811
|
+
"kind": "Content",
|
5812
|
+
"text": "Average = "
|
5813
|
+
},
|
5814
|
+
{
|
5815
|
+
"kind": "Content",
|
5816
|
+
"text": "0"
|
5817
|
+
}
|
5818
|
+
],
|
5819
|
+
"initializerTokenRange": {
|
5820
|
+
"startIndex": 1,
|
5821
|
+
"endIndex": 2
|
5822
|
+
},
|
5823
|
+
"releaseTag": "Public",
|
5824
|
+
"name": "Average"
|
5825
|
+
},
|
5826
|
+
{
|
5827
|
+
"kind": "EnumMember",
|
5828
|
+
"canonicalReference": "server!CoefficientCombineRule.Max:member",
|
5829
|
+
"docComment": "",
|
5830
|
+
"excerptTokens": [
|
5831
|
+
{
|
5832
|
+
"kind": "Content",
|
5833
|
+
"text": "Max = "
|
5834
|
+
},
|
5835
|
+
{
|
5836
|
+
"kind": "Content",
|
5837
|
+
"text": "3"
|
5838
|
+
}
|
5839
|
+
],
|
5840
|
+
"initializerTokenRange": {
|
5841
|
+
"startIndex": 1,
|
5842
|
+
"endIndex": 2
|
5843
|
+
},
|
5844
|
+
"releaseTag": "Public",
|
5845
|
+
"name": "Max"
|
5846
|
+
},
|
5847
|
+
{
|
5848
|
+
"kind": "EnumMember",
|
5849
|
+
"canonicalReference": "server!CoefficientCombineRule.Min:member",
|
5850
|
+
"docComment": "",
|
5851
|
+
"excerptTokens": [
|
5852
|
+
{
|
5853
|
+
"kind": "Content",
|
5854
|
+
"text": "Min = "
|
5855
|
+
},
|
5856
|
+
{
|
5857
|
+
"kind": "Content",
|
5858
|
+
"text": "1"
|
5859
|
+
}
|
5860
|
+
],
|
5861
|
+
"initializerTokenRange": {
|
5862
|
+
"startIndex": 1,
|
5863
|
+
"endIndex": 2
|
5864
|
+
},
|
5865
|
+
"releaseTag": "Public",
|
5866
|
+
"name": "Min"
|
5867
|
+
},
|
5868
|
+
{
|
5869
|
+
"kind": "EnumMember",
|
5870
|
+
"canonicalReference": "server!CoefficientCombineRule.Multiply:member",
|
5871
|
+
"docComment": "",
|
5872
|
+
"excerptTokens": [
|
5873
|
+
{
|
5874
|
+
"kind": "Content",
|
5875
|
+
"text": "Multiply = "
|
5876
|
+
},
|
5877
|
+
{
|
5878
|
+
"kind": "Content",
|
5879
|
+
"text": "2"
|
5880
|
+
}
|
5881
|
+
],
|
5882
|
+
"initializerTokenRange": {
|
5883
|
+
"startIndex": 1,
|
5884
|
+
"endIndex": 2
|
5885
|
+
},
|
5886
|
+
"releaseTag": "Public",
|
5887
|
+
"name": "Multiply"
|
5888
|
+
}
|
5889
|
+
]
|
5890
|
+
},
|
5772
5891
|
{
|
5773
5892
|
"kind": "Class",
|
5774
5893
|
"canonicalReference": "server!Collider:class",
|
@@ -6011,6 +6130,38 @@
|
|
6011
6130
|
"isAbstract": false,
|
6012
6131
|
"name": "getBounciness"
|
6013
6132
|
},
|
6133
|
+
{
|
6134
|
+
"kind": "Method",
|
6135
|
+
"canonicalReference": "server!Collider#getBouncinessCombineRule:member(1)",
|
6136
|
+
"docComment": "/**\n * Gets the bounciness combine rule of the collider.\n *\n * @returns The bounciness combine rule of the collider.\n */\n",
|
6137
|
+
"excerptTokens": [
|
6138
|
+
{
|
6139
|
+
"kind": "Content",
|
6140
|
+
"text": "getBouncinessCombineRule(): "
|
6141
|
+
},
|
6142
|
+
{
|
6143
|
+
"kind": "Reference",
|
6144
|
+
"text": "CoefficientCombineRule",
|
6145
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
6146
|
+
},
|
6147
|
+
{
|
6148
|
+
"kind": "Content",
|
6149
|
+
"text": ";"
|
6150
|
+
}
|
6151
|
+
],
|
6152
|
+
"isStatic": false,
|
6153
|
+
"returnTypeTokenRange": {
|
6154
|
+
"startIndex": 1,
|
6155
|
+
"endIndex": 2
|
6156
|
+
},
|
6157
|
+
"releaseTag": "Public",
|
6158
|
+
"isProtected": false,
|
6159
|
+
"overloadIndex": 1,
|
6160
|
+
"parameters": [],
|
6161
|
+
"isOptional": false,
|
6162
|
+
"isAbstract": false,
|
6163
|
+
"name": "getBouncinessCombineRule"
|
6164
|
+
},
|
6014
6165
|
{
|
6015
6166
|
"kind": "Method",
|
6016
6167
|
"canonicalReference": "server!Collider#getCollisionGroups:member(1)",
|
@@ -6074,6 +6225,38 @@
|
|
6074
6225
|
"isAbstract": false,
|
6075
6226
|
"name": "getFriction"
|
6076
6227
|
},
|
6228
|
+
{
|
6229
|
+
"kind": "Method",
|
6230
|
+
"canonicalReference": "server!Collider#getFrictionCombineRule:member(1)",
|
6231
|
+
"docComment": "/**\n * Gets the friction combine rule of the collider.\n *\n * @returns The friction combine rule of the collider.\n */\n",
|
6232
|
+
"excerptTokens": [
|
6233
|
+
{
|
6234
|
+
"kind": "Content",
|
6235
|
+
"text": "getFrictionCombineRule(): "
|
6236
|
+
},
|
6237
|
+
{
|
6238
|
+
"kind": "Reference",
|
6239
|
+
"text": "CoefficientCombineRule",
|
6240
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
6241
|
+
},
|
6242
|
+
{
|
6243
|
+
"kind": "Content",
|
6244
|
+
"text": ";"
|
6245
|
+
}
|
6246
|
+
],
|
6247
|
+
"isStatic": false,
|
6248
|
+
"returnTypeTokenRange": {
|
6249
|
+
"startIndex": 1,
|
6250
|
+
"endIndex": 2
|
6251
|
+
},
|
6252
|
+
"releaseTag": "Public",
|
6253
|
+
"isProtected": false,
|
6254
|
+
"overloadIndex": 1,
|
6255
|
+
"parameters": [],
|
6256
|
+
"isOptional": false,
|
6257
|
+
"isAbstract": false,
|
6258
|
+
"name": "getFrictionCombineRule"
|
6259
|
+
},
|
6077
6260
|
{
|
6078
6261
|
"kind": "Method",
|
6079
6262
|
"canonicalReference": "server!Collider#getRelativeRotation:member(1)",
|
@@ -6407,6 +6590,55 @@
|
|
6407
6590
|
"isAbstract": false,
|
6408
6591
|
"name": "setBounciness"
|
6409
6592
|
},
|
6593
|
+
{
|
6594
|
+
"kind": "Method",
|
6595
|
+
"canonicalReference": "server!Collider#setBouncinessCombineRule:member(1)",
|
6596
|
+
"docComment": "/**\n * Sets the bounciness combine rule of the collider.\n *\n * @param bouncinessCombineRule - The bounciness combine rule of the collider.\n */\n",
|
6597
|
+
"excerptTokens": [
|
6598
|
+
{
|
6599
|
+
"kind": "Content",
|
6600
|
+
"text": "setBouncinessCombineRule(bouncinessCombineRule: "
|
6601
|
+
},
|
6602
|
+
{
|
6603
|
+
"kind": "Reference",
|
6604
|
+
"text": "CoefficientCombineRule",
|
6605
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
6606
|
+
},
|
6607
|
+
{
|
6608
|
+
"kind": "Content",
|
6609
|
+
"text": "): "
|
6610
|
+
},
|
6611
|
+
{
|
6612
|
+
"kind": "Content",
|
6613
|
+
"text": "void"
|
6614
|
+
},
|
6615
|
+
{
|
6616
|
+
"kind": "Content",
|
6617
|
+
"text": ";"
|
6618
|
+
}
|
6619
|
+
],
|
6620
|
+
"isStatic": false,
|
6621
|
+
"returnTypeTokenRange": {
|
6622
|
+
"startIndex": 3,
|
6623
|
+
"endIndex": 4
|
6624
|
+
},
|
6625
|
+
"releaseTag": "Public",
|
6626
|
+
"isProtected": false,
|
6627
|
+
"overloadIndex": 1,
|
6628
|
+
"parameters": [
|
6629
|
+
{
|
6630
|
+
"parameterName": "bouncinessCombineRule",
|
6631
|
+
"parameterTypeTokenRange": {
|
6632
|
+
"startIndex": 1,
|
6633
|
+
"endIndex": 2
|
6634
|
+
},
|
6635
|
+
"isOptional": false
|
6636
|
+
}
|
6637
|
+
],
|
6638
|
+
"isOptional": false,
|
6639
|
+
"isAbstract": false,
|
6640
|
+
"name": "setBouncinessCombineRule"
|
6641
|
+
},
|
6410
6642
|
{
|
6411
6643
|
"kind": "Method",
|
6412
6644
|
"canonicalReference": "server!Collider#setCollisionGroups:member(1)",
|
@@ -6552,6 +6784,55 @@
|
|
6552
6784
|
"isAbstract": false,
|
6553
6785
|
"name": "setFriction"
|
6554
6786
|
},
|
6787
|
+
{
|
6788
|
+
"kind": "Method",
|
6789
|
+
"canonicalReference": "server!Collider#setFrictionCombineRule:member(1)",
|
6790
|
+
"docComment": "/**\n * Sets the friction combine rule of the collider.\n *\n * @param frictionCombineRule - The friction combine rule of the collider.\n */\n",
|
6791
|
+
"excerptTokens": [
|
6792
|
+
{
|
6793
|
+
"kind": "Content",
|
6794
|
+
"text": "setFrictionCombineRule(frictionCombineRule: "
|
6795
|
+
},
|
6796
|
+
{
|
6797
|
+
"kind": "Reference",
|
6798
|
+
"text": "CoefficientCombineRule",
|
6799
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
6800
|
+
},
|
6801
|
+
{
|
6802
|
+
"kind": "Content",
|
6803
|
+
"text": "): "
|
6804
|
+
},
|
6805
|
+
{
|
6806
|
+
"kind": "Content",
|
6807
|
+
"text": "void"
|
6808
|
+
},
|
6809
|
+
{
|
6810
|
+
"kind": "Content",
|
6811
|
+
"text": ";"
|
6812
|
+
}
|
6813
|
+
],
|
6814
|
+
"isStatic": false,
|
6815
|
+
"returnTypeTokenRange": {
|
6816
|
+
"startIndex": 3,
|
6817
|
+
"endIndex": 4
|
6818
|
+
},
|
6819
|
+
"releaseTag": "Public",
|
6820
|
+
"isProtected": false,
|
6821
|
+
"overloadIndex": 1,
|
6822
|
+
"parameters": [
|
6823
|
+
{
|
6824
|
+
"parameterName": "frictionCombineRule",
|
6825
|
+
"parameterTypeTokenRange": {
|
6826
|
+
"startIndex": 1,
|
6827
|
+
"endIndex": 2
|
6828
|
+
},
|
6829
|
+
"isOptional": false
|
6830
|
+
}
|
6831
|
+
],
|
6832
|
+
"isOptional": false,
|
6833
|
+
"isAbstract": false,
|
6834
|
+
"name": "setFrictionCombineRule"
|
6835
|
+
},
|
6555
6836
|
{
|
6556
6837
|
"kind": "Method",
|
6557
6838
|
"canonicalReference": "server!Collider#setMass:member(1)",
|
@@ -6980,6 +7261,34 @@
|
|
6980
7261
|
"endIndex": 2
|
6981
7262
|
}
|
6982
7263
|
},
|
7264
|
+
{
|
7265
|
+
"kind": "PropertySignature",
|
7266
|
+
"canonicalReference": "server!ColliderOptions#bouncinessCombineRule:member",
|
7267
|
+
"docComment": "/**\n * The bounciness combine rule of the collider.\n */\n",
|
7268
|
+
"excerptTokens": [
|
7269
|
+
{
|
7270
|
+
"kind": "Content",
|
7271
|
+
"text": "bouncinessCombineRule?: "
|
7272
|
+
},
|
7273
|
+
{
|
7274
|
+
"kind": "Reference",
|
7275
|
+
"text": "CoefficientCombineRule",
|
7276
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
7277
|
+
},
|
7278
|
+
{
|
7279
|
+
"kind": "Content",
|
7280
|
+
"text": ";"
|
7281
|
+
}
|
7282
|
+
],
|
7283
|
+
"isReadonly": false,
|
7284
|
+
"isOptional": true,
|
7285
|
+
"releaseTag": "Public",
|
7286
|
+
"name": "bouncinessCombineRule",
|
7287
|
+
"propertyTypeTokenRange": {
|
7288
|
+
"startIndex": 1,
|
7289
|
+
"endIndex": 2
|
7290
|
+
}
|
7291
|
+
},
|
6983
7292
|
{
|
6984
7293
|
"kind": "PropertySignature",
|
6985
7294
|
"canonicalReference": "server!ColliderOptions#collisionGroups:member",
|
@@ -7062,6 +7371,34 @@
|
|
7062
7371
|
"endIndex": 2
|
7063
7372
|
}
|
7064
7373
|
},
|
7374
|
+
{
|
7375
|
+
"kind": "PropertySignature",
|
7376
|
+
"canonicalReference": "server!ColliderOptions#frictionCombineRule:member",
|
7377
|
+
"docComment": "/**\n * The friction combine rule of the collider.\n */\n",
|
7378
|
+
"excerptTokens": [
|
7379
|
+
{
|
7380
|
+
"kind": "Content",
|
7381
|
+
"text": "frictionCombineRule?: "
|
7382
|
+
},
|
7383
|
+
{
|
7384
|
+
"kind": "Reference",
|
7385
|
+
"text": "CoefficientCombineRule",
|
7386
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
7387
|
+
},
|
7388
|
+
{
|
7389
|
+
"kind": "Content",
|
7390
|
+
"text": ";"
|
7391
|
+
}
|
7392
|
+
],
|
7393
|
+
"isReadonly": false,
|
7394
|
+
"isOptional": true,
|
7395
|
+
"releaseTag": "Public",
|
7396
|
+
"name": "frictionCombineRule",
|
7397
|
+
"propertyTypeTokenRange": {
|
7398
|
+
"startIndex": 1,
|
7399
|
+
"endIndex": 2
|
7400
|
+
}
|
7401
|
+
},
|
7065
7402
|
{
|
7066
7403
|
"kind": "PropertySignature",
|
7067
7404
|
"canonicalReference": "server!ColliderOptions#halfExtents:member",
|
@@ -7117,6 +7454,34 @@
|
|
7117
7454
|
"endIndex": 2
|
7118
7455
|
}
|
7119
7456
|
},
|
7457
|
+
{
|
7458
|
+
"kind": "PropertySignature",
|
7459
|
+
"canonicalReference": "server!ColliderOptions#indices:member",
|
7460
|
+
"docComment": "/**\n * The indices of the collider if the shape is a trimesh.\n */\n",
|
7461
|
+
"excerptTokens": [
|
7462
|
+
{
|
7463
|
+
"kind": "Content",
|
7464
|
+
"text": "indices?: "
|
7465
|
+
},
|
7466
|
+
{
|
7467
|
+
"kind": "Reference",
|
7468
|
+
"text": "Uint32Array",
|
7469
|
+
"canonicalReference": "!Uint32Array:interface"
|
7470
|
+
},
|
7471
|
+
{
|
7472
|
+
"kind": "Content",
|
7473
|
+
"text": ";"
|
7474
|
+
}
|
7475
|
+
],
|
7476
|
+
"isReadonly": false,
|
7477
|
+
"isOptional": true,
|
7478
|
+
"releaseTag": "Public",
|
7479
|
+
"name": "indices",
|
7480
|
+
"propertyTypeTokenRange": {
|
7481
|
+
"startIndex": 1,
|
7482
|
+
"endIndex": 2
|
7483
|
+
}
|
7484
|
+
},
|
7120
7485
|
{
|
7121
7486
|
"kind": "PropertySignature",
|
7122
7487
|
"canonicalReference": "server!ColliderOptions#isSensor:member",
|
@@ -7392,6 +7757,34 @@
|
|
7392
7757
|
"startIndex": 1,
|
7393
7758
|
"endIndex": 2
|
7394
7759
|
}
|
7760
|
+
},
|
7761
|
+
{
|
7762
|
+
"kind": "PropertySignature",
|
7763
|
+
"canonicalReference": "server!ColliderOptions#vertices:member",
|
7764
|
+
"docComment": "/**\n * The vertices of the collider if the shape is a trimesh.\n */\n",
|
7765
|
+
"excerptTokens": [
|
7766
|
+
{
|
7767
|
+
"kind": "Content",
|
7768
|
+
"text": "vertices?: "
|
7769
|
+
},
|
7770
|
+
{
|
7771
|
+
"kind": "Reference",
|
7772
|
+
"text": "Float32Array",
|
7773
|
+
"canonicalReference": "!Float32Array:interface"
|
7774
|
+
},
|
7775
|
+
{
|
7776
|
+
"kind": "Content",
|
7777
|
+
"text": ";"
|
7778
|
+
}
|
7779
|
+
],
|
7780
|
+
"isReadonly": false,
|
7781
|
+
"isOptional": true,
|
7782
|
+
"releaseTag": "Public",
|
7783
|
+
"name": "vertices",
|
7784
|
+
"propertyTypeTokenRange": {
|
7785
|
+
"startIndex": 1,
|
7786
|
+
"endIndex": 2
|
7787
|
+
}
|
7395
7788
|
}
|
7396
7789
|
],
|
7397
7790
|
"extendsTokenRanges": []
|
@@ -7536,6 +7929,27 @@
|
|
7536
7929
|
},
|
7537
7930
|
"releaseTag": "Public",
|
7538
7931
|
"name": "ROUND_CYLINDER"
|
7932
|
+
},
|
7933
|
+
{
|
7934
|
+
"kind": "EnumMember",
|
7935
|
+
"canonicalReference": "server!ColliderShape.TRIMESH:member",
|
7936
|
+
"docComment": "",
|
7937
|
+
"excerptTokens": [
|
7938
|
+
{
|
7939
|
+
"kind": "Content",
|
7940
|
+
"text": "TRIMESH = "
|
7941
|
+
},
|
7942
|
+
{
|
7943
|
+
"kind": "Content",
|
7944
|
+
"text": "\"trimesh\""
|
7945
|
+
}
|
7946
|
+
],
|
7947
|
+
"initializerTokenRange": {
|
7948
|
+
"startIndex": 1,
|
7949
|
+
"endIndex": 2
|
7950
|
+
},
|
7951
|
+
"releaseTag": "Public",
|
7952
|
+
"name": "TRIMESH"
|
7539
7953
|
}
|
7540
7954
|
]
|
7541
7955
|
},
|
@@ -7550,7 +7964,25 @@
|
|
7550
7964
|
},
|
7551
7965
|
{
|
7552
7966
|
"kind": "Content",
|
7553
|
-
"text": "(other: "
|
7967
|
+
"text": "((other: "
|
7968
|
+
},
|
7969
|
+
{
|
7970
|
+
"kind": "Reference",
|
7971
|
+
"text": "BlockType",
|
7972
|
+
"canonicalReference": "server!BlockType:class"
|
7973
|
+
},
|
7974
|
+
{
|
7975
|
+
"kind": "Content",
|
7976
|
+
"text": " | "
|
7977
|
+
},
|
7978
|
+
{
|
7979
|
+
"kind": "Reference",
|
7980
|
+
"text": "Entity",
|
7981
|
+
"canonicalReference": "server!Entity:class"
|
7982
|
+
},
|
7983
|
+
{
|
7984
|
+
"kind": "Content",
|
7985
|
+
"text": ", started: boolean) => void) | ((other: "
|
7554
7986
|
},
|
7555
7987
|
{
|
7556
7988
|
"kind": "Reference",
|
@@ -7568,7 +8000,7 @@
|
|
7568
8000
|
},
|
7569
8001
|
{
|
7570
8002
|
"kind": "Content",
|
7571
|
-
"text": ", started: boolean) => void"
|
8003
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
7572
8004
|
},
|
7573
8005
|
{
|
7574
8006
|
"kind": "Content",
|
@@ -7580,7 +8012,7 @@
|
|
7580
8012
|
"name": "CollisionCallback",
|
7581
8013
|
"typeTokenRange": {
|
7582
8014
|
"startIndex": 1,
|
7583
|
-
"endIndex":
|
8015
|
+
"endIndex": 10
|
7584
8016
|
}
|
7585
8017
|
},
|
7586
8018
|
{
|
@@ -8270,12 +8702,12 @@
|
|
8270
8702
|
},
|
8271
8703
|
{
|
8272
8704
|
"kind": "Method",
|
8273
|
-
"canonicalReference": "server!DefaultCharacterController#
|
8274
|
-
"docComment": "/**\n * Creates the
|
8705
|
+
"canonicalReference": "server!DefaultCharacterController#createColliders:member(1)",
|
8706
|
+
"docComment": "/**\n * Creates the colliders for the character controller, overriding the default implementation.\n *\n * @returns An array of colliders.\n */\n",
|
8275
8707
|
"excerptTokens": [
|
8276
8708
|
{
|
8277
8709
|
"kind": "Content",
|
8278
|
-
"text": "
|
8710
|
+
"text": "createColliders(): "
|
8279
8711
|
},
|
8280
8712
|
{
|
8281
8713
|
"kind": "Reference",
|
@@ -8302,7 +8734,7 @@
|
|
8302
8734
|
"parameters": [],
|
8303
8735
|
"isOptional": false,
|
8304
8736
|
"isAbstract": false,
|
8305
|
-
"name": "
|
8737
|
+
"name": "createColliders"
|
8306
8738
|
},
|
8307
8739
|
{
|
8308
8740
|
"kind": "Property",
|
@@ -9030,6 +9462,66 @@
|
|
9030
9462
|
"isProtected": false,
|
9031
9463
|
"isAbstract": false
|
9032
9464
|
},
|
9465
|
+
{
|
9466
|
+
"kind": "Property",
|
9467
|
+
"canonicalReference": "server!Entity#isBlockEntity:member",
|
9468
|
+
"docComment": "/**\n * Whether the entity is a block entity.\n */\n",
|
9469
|
+
"excerptTokens": [
|
9470
|
+
{
|
9471
|
+
"kind": "Content",
|
9472
|
+
"text": "get isBlockEntity(): "
|
9473
|
+
},
|
9474
|
+
{
|
9475
|
+
"kind": "Content",
|
9476
|
+
"text": "boolean"
|
9477
|
+
},
|
9478
|
+
{
|
9479
|
+
"kind": "Content",
|
9480
|
+
"text": ";"
|
9481
|
+
}
|
9482
|
+
],
|
9483
|
+
"isReadonly": true,
|
9484
|
+
"isOptional": false,
|
9485
|
+
"releaseTag": "Public",
|
9486
|
+
"name": "isBlockEntity",
|
9487
|
+
"propertyTypeTokenRange": {
|
9488
|
+
"startIndex": 1,
|
9489
|
+
"endIndex": 2
|
9490
|
+
},
|
9491
|
+
"isStatic": false,
|
9492
|
+
"isProtected": false,
|
9493
|
+
"isAbstract": false
|
9494
|
+
},
|
9495
|
+
{
|
9496
|
+
"kind": "Property",
|
9497
|
+
"canonicalReference": "server!Entity#isModelEntity:member",
|
9498
|
+
"docComment": "/**\n * Whether the entity is a model entity.\n */\n",
|
9499
|
+
"excerptTokens": [
|
9500
|
+
{
|
9501
|
+
"kind": "Content",
|
9502
|
+
"text": "get isModelEntity(): "
|
9503
|
+
},
|
9504
|
+
{
|
9505
|
+
"kind": "Content",
|
9506
|
+
"text": "boolean"
|
9507
|
+
},
|
9508
|
+
{
|
9509
|
+
"kind": "Content",
|
9510
|
+
"text": ";"
|
9511
|
+
}
|
9512
|
+
],
|
9513
|
+
"isReadonly": true,
|
9514
|
+
"isOptional": false,
|
9515
|
+
"releaseTag": "Public",
|
9516
|
+
"name": "isModelEntity",
|
9517
|
+
"propertyTypeTokenRange": {
|
9518
|
+
"startIndex": 1,
|
9519
|
+
"endIndex": 2
|
9520
|
+
},
|
9521
|
+
"isStatic": false,
|
9522
|
+
"isProtected": false,
|
9523
|
+
"isAbstract": false
|
9524
|
+
},
|
9033
9525
|
{
|
9034
9526
|
"kind": "Property",
|
9035
9527
|
"canonicalReference": "server!Entity#isSpawned:member",
|
@@ -9223,7 +9715,7 @@
|
|
9223
9715
|
{
|
9224
9716
|
"kind": "Property",
|
9225
9717
|
"canonicalReference": "server!Entity#onBlockCollision:member",
|
9226
|
-
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
9718
|
+
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
9227
9719
|
"excerptTokens": [
|
9228
9720
|
{
|
9229
9721
|
"kind": "Content",
|
@@ -9231,7 +9723,7 @@
|
|
9231
9723
|
},
|
9232
9724
|
{
|
9233
9725
|
"kind": "Content",
|
9234
|
-
"text": "(entity: "
|
9726
|
+
"text": "((entity: "
|
9235
9727
|
},
|
9236
9728
|
{
|
9237
9729
|
"kind": "Reference",
|
@@ -9249,7 +9741,25 @@
|
|
9249
9741
|
},
|
9250
9742
|
{
|
9251
9743
|
"kind": "Content",
|
9252
|
-
"text": ", started: boolean) => void"
|
9744
|
+
"text": ", started: boolean) => void) | ((entity: "
|
9745
|
+
},
|
9746
|
+
{
|
9747
|
+
"kind": "Reference",
|
9748
|
+
"text": "Entity",
|
9749
|
+
"canonicalReference": "server!Entity:class"
|
9750
|
+
},
|
9751
|
+
{
|
9752
|
+
"kind": "Content",
|
9753
|
+
"text": ", blockType: "
|
9754
|
+
},
|
9755
|
+
{
|
9756
|
+
"kind": "Reference",
|
9757
|
+
"text": "BlockType",
|
9758
|
+
"canonicalReference": "server!BlockType:class"
|
9759
|
+
},
|
9760
|
+
{
|
9761
|
+
"kind": "Content",
|
9762
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
9253
9763
|
},
|
9254
9764
|
{
|
9255
9765
|
"kind": "Content",
|
@@ -9262,7 +9772,7 @@
|
|
9262
9772
|
"name": "onBlockCollision",
|
9263
9773
|
"propertyTypeTokenRange": {
|
9264
9774
|
"startIndex": 1,
|
9265
|
-
"endIndex":
|
9775
|
+
"endIndex": 10
|
9266
9776
|
},
|
9267
9777
|
"isStatic": false,
|
9268
9778
|
"isProtected": false,
|
@@ -9271,7 +9781,7 @@
|
|
9271
9781
|
{
|
9272
9782
|
"kind": "Property",
|
9273
9783
|
"canonicalReference": "server!Entity#onBlockContactForce:member",
|
9274
|
-
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
9784
|
+
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
9275
9785
|
"excerptTokens": [
|
9276
9786
|
{
|
9277
9787
|
"kind": "Content",
|
@@ -9367,7 +9877,7 @@
|
|
9367
9877
|
{
|
9368
9878
|
"kind": "Property",
|
9369
9879
|
"canonicalReference": "server!Entity#onEntityCollision:member",
|
9370
|
-
"docComment": "/**\n * A function that is called when the entity collides with another entity.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
9880
|
+
"docComment": "/**\n * A function that is called when the entity collides with another entity.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
9371
9881
|
"excerptTokens": [
|
9372
9882
|
{
|
9373
9883
|
"kind": "Content",
|
@@ -9375,7 +9885,25 @@
|
|
9375
9885
|
},
|
9376
9886
|
{
|
9377
9887
|
"kind": "Content",
|
9378
|
-
"text": "(entity: "
|
9888
|
+
"text": "((entity: "
|
9889
|
+
},
|
9890
|
+
{
|
9891
|
+
"kind": "Reference",
|
9892
|
+
"text": "Entity",
|
9893
|
+
"canonicalReference": "server!Entity:class"
|
9894
|
+
},
|
9895
|
+
{
|
9896
|
+
"kind": "Content",
|
9897
|
+
"text": ", otherEntity: "
|
9898
|
+
},
|
9899
|
+
{
|
9900
|
+
"kind": "Reference",
|
9901
|
+
"text": "Entity",
|
9902
|
+
"canonicalReference": "server!Entity:class"
|
9903
|
+
},
|
9904
|
+
{
|
9905
|
+
"kind": "Content",
|
9906
|
+
"text": ", started: boolean) => void) | ((entity: "
|
9379
9907
|
},
|
9380
9908
|
{
|
9381
9909
|
"kind": "Reference",
|
@@ -9393,7 +9921,7 @@
|
|
9393
9921
|
},
|
9394
9922
|
{
|
9395
9923
|
"kind": "Content",
|
9396
|
-
"text": ", started: boolean) => void"
|
9924
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
9397
9925
|
},
|
9398
9926
|
{
|
9399
9927
|
"kind": "Content",
|
@@ -9406,7 +9934,7 @@
|
|
9406
9934
|
"name": "onEntityCollision",
|
9407
9935
|
"propertyTypeTokenRange": {
|
9408
9936
|
"startIndex": 1,
|
9409
|
-
"endIndex":
|
9937
|
+
"endIndex": 10
|
9410
9938
|
},
|
9411
9939
|
"isStatic": false,
|
9412
9940
|
"isProtected": false,
|
@@ -9415,7 +9943,7 @@
|
|
9415
9943
|
{
|
9416
9944
|
"kind": "Property",
|
9417
9945
|
"canonicalReference": "server!Entity#onEntityContactForce:member",
|
9418
|
-
"docComment": "/**\n * A function that is called when the entity contacts another entity.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
9946
|
+
"docComment": "/**\n * A function that is called when the entity contacts another entity.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
9419
9947
|
"excerptTokens": [
|
9420
9948
|
{
|
9421
9949
|
"kind": "Content",
|
@@ -9766,7 +10294,7 @@
|
|
9766
10294
|
{
|
9767
10295
|
"kind": "Method",
|
9768
10296
|
"canonicalReference": "server!Entity#startModelLoopedAnimations:member(1)",
|
9769
|
-
"docComment": "/**\n * Starts looped animations for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
10297
|
+
"docComment": "/**\n * Starts looped animations for the entity, blending with other animations currently playing.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to start.\n */\n",
|
9770
10298
|
"excerptTokens": [
|
9771
10299
|
{
|
9772
10300
|
"kind": "Content",
|
@@ -9814,7 +10342,7 @@
|
|
9814
10342
|
{
|
9815
10343
|
"kind": "Method",
|
9816
10344
|
"canonicalReference": "server!Entity#startModelOneshotAnimations:member(1)",
|
9817
|
-
"docComment": "/**\n * Starts a oneshot animation for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
10345
|
+
"docComment": "/**\n * Starts a oneshot animation for the entity, blending with other animations currently playing.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to start.\n */\n",
|
9818
10346
|
"excerptTokens": [
|
9819
10347
|
{
|
9820
10348
|
"kind": "Content",
|
@@ -9862,7 +10390,7 @@
|
|
9862
10390
|
{
|
9863
10391
|
"kind": "Method",
|
9864
10392
|
"canonicalReference": "server!Entity#stopModelAnimations:member(1)",
|
9865
|
-
"docComment": "/**\n * Stops the provided model animations for the entity.\n *\n * @param animations - The animations to stop.\n */\n",
|
10393
|
+
"docComment": "/**\n * Stops the provided model animations for the entity.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to stop.\n */\n",
|
9866
10394
|
"excerptTokens": [
|
9867
10395
|
{
|
9868
10396
|
"kind": "Content",
|
@@ -15059,12 +15587,12 @@
|
|
15059
15587
|
},
|
15060
15588
|
{
|
15061
15589
|
"kind": "Method",
|
15062
|
-
"canonicalReference": "server!HYTOPIA.BaseCharacterController#
|
15063
|
-
"docComment": "/**\n * Override this method to create
|
15590
|
+
"canonicalReference": "server!HYTOPIA.BaseCharacterController#createColliders:member(1)",
|
15591
|
+
"docComment": "/**\n * Override this method to create controller specific colliders to be attached to the controlled entity when it spawns.\n *\n * @returns An array of colliders.\n */\n",
|
15064
15592
|
"excerptTokens": [
|
15065
15593
|
{
|
15066
15594
|
"kind": "Content",
|
15067
|
-
"text": "
|
15595
|
+
"text": "createColliders(): "
|
15068
15596
|
},
|
15069
15597
|
{
|
15070
15598
|
"kind": "Reference",
|
@@ -15091,7 +15619,7 @@
|
|
15091
15619
|
"parameters": [],
|
15092
15620
|
"isOptional": false,
|
15093
15621
|
"isAbstract": false,
|
15094
|
-
"name": "
|
15622
|
+
"name": "createColliders"
|
15095
15623
|
},
|
15096
15624
|
{
|
15097
15625
|
"kind": "Property",
|
@@ -15598,7 +16126,7 @@
|
|
15598
16126
|
{
|
15599
16127
|
"kind": "Property",
|
15600
16128
|
"canonicalReference": "server!HYTOPIA.BlockType#onEntityCollision:member",
|
15601
|
-
"docComment": "/**\n * A callback function that is invoked when an entity collides with blocks of this type.\n *\n * @param blockType - The block type the collision is for.\n *\n * @param entity - The entity that collided with the block type.\n *\n * @param started - Whether the collision started.\n */\n",
|
16129
|
+
"docComment": "/**\n * A callback function that is invoked when an entity collides with blocks of this type.\n *\n * @remarks\n *\n * This must be set before a block of this type is created. If it is set after a block is created, only future created blocks of this type will have the callback set.\n *\n * @param blockType - The block type the collision is for.\n *\n * @param entity - The entity that collided with the block type.\n *\n * @param started - Whether the collision started.\n */\n",
|
15602
16130
|
"excerptTokens": [
|
15603
16131
|
{
|
15604
16132
|
"kind": "Content",
|
@@ -15606,7 +16134,7 @@
|
|
15606
16134
|
},
|
15607
16135
|
{
|
15608
16136
|
"kind": "Content",
|
15609
|
-
"text": "(blockType: "
|
16137
|
+
"text": "((blockType: "
|
15610
16138
|
},
|
15611
16139
|
{
|
15612
16140
|
"kind": "Reference",
|
@@ -15624,7 +16152,25 @@
|
|
15624
16152
|
},
|
15625
16153
|
{
|
15626
16154
|
"kind": "Content",
|
15627
|
-
"text": ", started: boolean) => void"
|
16155
|
+
"text": ", started: boolean) => void) | ((blockType: "
|
16156
|
+
},
|
16157
|
+
{
|
16158
|
+
"kind": "Reference",
|
16159
|
+
"text": "BlockType",
|
16160
|
+
"canonicalReference": "server!BlockType:class"
|
16161
|
+
},
|
16162
|
+
{
|
16163
|
+
"kind": "Content",
|
16164
|
+
"text": ", entity: "
|
16165
|
+
},
|
16166
|
+
{
|
16167
|
+
"kind": "Reference",
|
16168
|
+
"text": "Entity",
|
16169
|
+
"canonicalReference": "server!Entity:class"
|
16170
|
+
},
|
16171
|
+
{
|
16172
|
+
"kind": "Content",
|
16173
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
15628
16174
|
},
|
15629
16175
|
{
|
15630
16176
|
"kind": "Content",
|
@@ -15637,7 +16183,7 @@
|
|
15637
16183
|
"name": "onEntityCollision",
|
15638
16184
|
"propertyTypeTokenRange": {
|
15639
16185
|
"startIndex": 1,
|
15640
|
-
"endIndex":
|
16186
|
+
"endIndex": 10
|
15641
16187
|
},
|
15642
16188
|
"isStatic": false,
|
15643
16189
|
"isProtected": false,
|
@@ -15646,7 +16192,7 @@
|
|
15646
16192
|
{
|
15647
16193
|
"kind": "Property",
|
15648
16194
|
"canonicalReference": "server!HYTOPIA.BlockType#onEntityContactForce:member",
|
15649
|
-
"docComment": "/**\n * A callback function that is invoked when an entity contacts a block of this type.\n *\n * @param blockType - The block type the contact is for.\n *\n * @param entity - The entity that contacted the block type.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
16195
|
+
"docComment": "/**\n * A callback function that is invoked when an entity contacts a block of this type.\n *\n * @remarks\n *\n * This must be set before a block of this type is created. If it is set after a block is created, only future created blocks of this type will have the callback set.\n *\n * @param blockType - The block type the contact is for.\n *\n * @param entity - The entity that contacted the block type.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
15650
16196
|
"excerptTokens": [
|
15651
16197
|
{
|
15652
16198
|
"kind": "Content",
|
@@ -18140,6 +18686,107 @@
|
|
18140
18686
|
],
|
18141
18687
|
"implementsTokenRanges": []
|
18142
18688
|
},
|
18689
|
+
{
|
18690
|
+
"kind": "Enum",
|
18691
|
+
"canonicalReference": "server!HYTOPIA.CoefficientCombineRule:enum",
|
18692
|
+
"docComment": "/**\n * The coefficient for friction or bounciness combine rule.\n *\n * @public\n */\n",
|
18693
|
+
"excerptTokens": [
|
18694
|
+
{
|
18695
|
+
"kind": "Content",
|
18696
|
+
"text": "export declare enum CoefficientCombineRule "
|
18697
|
+
}
|
18698
|
+
],
|
18699
|
+
"fileUrlPath": "src/world/physics/Collider.ts",
|
18700
|
+
"releaseTag": "Public",
|
18701
|
+
"name": "CoefficientCombineRule",
|
18702
|
+
"preserveMemberOrder": false,
|
18703
|
+
"members": [
|
18704
|
+
{
|
18705
|
+
"kind": "EnumMember",
|
18706
|
+
"canonicalReference": "server!HYTOPIA.CoefficientCombineRule.Average:member",
|
18707
|
+
"docComment": "",
|
18708
|
+
"excerptTokens": [
|
18709
|
+
{
|
18710
|
+
"kind": "Content",
|
18711
|
+
"text": "Average = "
|
18712
|
+
},
|
18713
|
+
{
|
18714
|
+
"kind": "Content",
|
18715
|
+
"text": "0"
|
18716
|
+
}
|
18717
|
+
],
|
18718
|
+
"initializerTokenRange": {
|
18719
|
+
"startIndex": 1,
|
18720
|
+
"endIndex": 2
|
18721
|
+
},
|
18722
|
+
"releaseTag": "Public",
|
18723
|
+
"name": "Average"
|
18724
|
+
},
|
18725
|
+
{
|
18726
|
+
"kind": "EnumMember",
|
18727
|
+
"canonicalReference": "server!HYTOPIA.CoefficientCombineRule.Max:member",
|
18728
|
+
"docComment": "",
|
18729
|
+
"excerptTokens": [
|
18730
|
+
{
|
18731
|
+
"kind": "Content",
|
18732
|
+
"text": "Max = "
|
18733
|
+
},
|
18734
|
+
{
|
18735
|
+
"kind": "Content",
|
18736
|
+
"text": "3"
|
18737
|
+
}
|
18738
|
+
],
|
18739
|
+
"initializerTokenRange": {
|
18740
|
+
"startIndex": 1,
|
18741
|
+
"endIndex": 2
|
18742
|
+
},
|
18743
|
+
"releaseTag": "Public",
|
18744
|
+
"name": "Max"
|
18745
|
+
},
|
18746
|
+
{
|
18747
|
+
"kind": "EnumMember",
|
18748
|
+
"canonicalReference": "server!HYTOPIA.CoefficientCombineRule.Min:member",
|
18749
|
+
"docComment": "",
|
18750
|
+
"excerptTokens": [
|
18751
|
+
{
|
18752
|
+
"kind": "Content",
|
18753
|
+
"text": "Min = "
|
18754
|
+
},
|
18755
|
+
{
|
18756
|
+
"kind": "Content",
|
18757
|
+
"text": "1"
|
18758
|
+
}
|
18759
|
+
],
|
18760
|
+
"initializerTokenRange": {
|
18761
|
+
"startIndex": 1,
|
18762
|
+
"endIndex": 2
|
18763
|
+
},
|
18764
|
+
"releaseTag": "Public",
|
18765
|
+
"name": "Min"
|
18766
|
+
},
|
18767
|
+
{
|
18768
|
+
"kind": "EnumMember",
|
18769
|
+
"canonicalReference": "server!HYTOPIA.CoefficientCombineRule.Multiply:member",
|
18770
|
+
"docComment": "",
|
18771
|
+
"excerptTokens": [
|
18772
|
+
{
|
18773
|
+
"kind": "Content",
|
18774
|
+
"text": "Multiply = "
|
18775
|
+
},
|
18776
|
+
{
|
18777
|
+
"kind": "Content",
|
18778
|
+
"text": "2"
|
18779
|
+
}
|
18780
|
+
],
|
18781
|
+
"initializerTokenRange": {
|
18782
|
+
"startIndex": 1,
|
18783
|
+
"endIndex": 2
|
18784
|
+
},
|
18785
|
+
"releaseTag": "Public",
|
18786
|
+
"name": "Multiply"
|
18787
|
+
}
|
18788
|
+
]
|
18789
|
+
},
|
18143
18790
|
{
|
18144
18791
|
"kind": "Class",
|
18145
18792
|
"canonicalReference": "server!HYTOPIA.Collider:class",
|
@@ -18382,6 +19029,38 @@
|
|
18382
19029
|
"isAbstract": false,
|
18383
19030
|
"name": "getBounciness"
|
18384
19031
|
},
|
19032
|
+
{
|
19033
|
+
"kind": "Method",
|
19034
|
+
"canonicalReference": "server!HYTOPIA.Collider#getBouncinessCombineRule:member(1)",
|
19035
|
+
"docComment": "/**\n * Gets the bounciness combine rule of the collider.\n *\n * @returns The bounciness combine rule of the collider.\n */\n",
|
19036
|
+
"excerptTokens": [
|
19037
|
+
{
|
19038
|
+
"kind": "Content",
|
19039
|
+
"text": "getBouncinessCombineRule(): "
|
19040
|
+
},
|
19041
|
+
{
|
19042
|
+
"kind": "Reference",
|
19043
|
+
"text": "CoefficientCombineRule",
|
19044
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
19045
|
+
},
|
19046
|
+
{
|
19047
|
+
"kind": "Content",
|
19048
|
+
"text": ";"
|
19049
|
+
}
|
19050
|
+
],
|
19051
|
+
"isStatic": false,
|
19052
|
+
"returnTypeTokenRange": {
|
19053
|
+
"startIndex": 1,
|
19054
|
+
"endIndex": 2
|
19055
|
+
},
|
19056
|
+
"releaseTag": "Public",
|
19057
|
+
"isProtected": false,
|
19058
|
+
"overloadIndex": 1,
|
19059
|
+
"parameters": [],
|
19060
|
+
"isOptional": false,
|
19061
|
+
"isAbstract": false,
|
19062
|
+
"name": "getBouncinessCombineRule"
|
19063
|
+
},
|
18385
19064
|
{
|
18386
19065
|
"kind": "Method",
|
18387
19066
|
"canonicalReference": "server!HYTOPIA.Collider#getCollisionGroups:member(1)",
|
@@ -18445,6 +19124,38 @@
|
|
18445
19124
|
"isAbstract": false,
|
18446
19125
|
"name": "getFriction"
|
18447
19126
|
},
|
19127
|
+
{
|
19128
|
+
"kind": "Method",
|
19129
|
+
"canonicalReference": "server!HYTOPIA.Collider#getFrictionCombineRule:member(1)",
|
19130
|
+
"docComment": "/**\n * Gets the friction combine rule of the collider.\n *\n * @returns The friction combine rule of the collider.\n */\n",
|
19131
|
+
"excerptTokens": [
|
19132
|
+
{
|
19133
|
+
"kind": "Content",
|
19134
|
+
"text": "getFrictionCombineRule(): "
|
19135
|
+
},
|
19136
|
+
{
|
19137
|
+
"kind": "Reference",
|
19138
|
+
"text": "CoefficientCombineRule",
|
19139
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
19140
|
+
},
|
19141
|
+
{
|
19142
|
+
"kind": "Content",
|
19143
|
+
"text": ";"
|
19144
|
+
}
|
19145
|
+
],
|
19146
|
+
"isStatic": false,
|
19147
|
+
"returnTypeTokenRange": {
|
19148
|
+
"startIndex": 1,
|
19149
|
+
"endIndex": 2
|
19150
|
+
},
|
19151
|
+
"releaseTag": "Public",
|
19152
|
+
"isProtected": false,
|
19153
|
+
"overloadIndex": 1,
|
19154
|
+
"parameters": [],
|
19155
|
+
"isOptional": false,
|
19156
|
+
"isAbstract": false,
|
19157
|
+
"name": "getFrictionCombineRule"
|
19158
|
+
},
|
18448
19159
|
{
|
18449
19160
|
"kind": "Method",
|
18450
19161
|
"canonicalReference": "server!HYTOPIA.Collider#getRelativeRotation:member(1)",
|
@@ -18778,6 +19489,55 @@
|
|
18778
19489
|
"isAbstract": false,
|
18779
19490
|
"name": "setBounciness"
|
18780
19491
|
},
|
19492
|
+
{
|
19493
|
+
"kind": "Method",
|
19494
|
+
"canonicalReference": "server!HYTOPIA.Collider#setBouncinessCombineRule:member(1)",
|
19495
|
+
"docComment": "/**\n * Sets the bounciness combine rule of the collider.\n *\n * @param bouncinessCombineRule - The bounciness combine rule of the collider.\n */\n",
|
19496
|
+
"excerptTokens": [
|
19497
|
+
{
|
19498
|
+
"kind": "Content",
|
19499
|
+
"text": "setBouncinessCombineRule(bouncinessCombineRule: "
|
19500
|
+
},
|
19501
|
+
{
|
19502
|
+
"kind": "Reference",
|
19503
|
+
"text": "CoefficientCombineRule",
|
19504
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
19505
|
+
},
|
19506
|
+
{
|
19507
|
+
"kind": "Content",
|
19508
|
+
"text": "): "
|
19509
|
+
},
|
19510
|
+
{
|
19511
|
+
"kind": "Content",
|
19512
|
+
"text": "void"
|
19513
|
+
},
|
19514
|
+
{
|
19515
|
+
"kind": "Content",
|
19516
|
+
"text": ";"
|
19517
|
+
}
|
19518
|
+
],
|
19519
|
+
"isStatic": false,
|
19520
|
+
"returnTypeTokenRange": {
|
19521
|
+
"startIndex": 3,
|
19522
|
+
"endIndex": 4
|
19523
|
+
},
|
19524
|
+
"releaseTag": "Public",
|
19525
|
+
"isProtected": false,
|
19526
|
+
"overloadIndex": 1,
|
19527
|
+
"parameters": [
|
19528
|
+
{
|
19529
|
+
"parameterName": "bouncinessCombineRule",
|
19530
|
+
"parameterTypeTokenRange": {
|
19531
|
+
"startIndex": 1,
|
19532
|
+
"endIndex": 2
|
19533
|
+
},
|
19534
|
+
"isOptional": false
|
19535
|
+
}
|
19536
|
+
],
|
19537
|
+
"isOptional": false,
|
19538
|
+
"isAbstract": false,
|
19539
|
+
"name": "setBouncinessCombineRule"
|
19540
|
+
},
|
18781
19541
|
{
|
18782
19542
|
"kind": "Method",
|
18783
19543
|
"canonicalReference": "server!HYTOPIA.Collider#setCollisionGroups:member(1)",
|
@@ -18923,6 +19683,55 @@
|
|
18923
19683
|
"isAbstract": false,
|
18924
19684
|
"name": "setFriction"
|
18925
19685
|
},
|
19686
|
+
{
|
19687
|
+
"kind": "Method",
|
19688
|
+
"canonicalReference": "server!HYTOPIA.Collider#setFrictionCombineRule:member(1)",
|
19689
|
+
"docComment": "/**\n * Sets the friction combine rule of the collider.\n *\n * @param frictionCombineRule - The friction combine rule of the collider.\n */\n",
|
19690
|
+
"excerptTokens": [
|
19691
|
+
{
|
19692
|
+
"kind": "Content",
|
19693
|
+
"text": "setFrictionCombineRule(frictionCombineRule: "
|
19694
|
+
},
|
19695
|
+
{
|
19696
|
+
"kind": "Reference",
|
19697
|
+
"text": "CoefficientCombineRule",
|
19698
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
19699
|
+
},
|
19700
|
+
{
|
19701
|
+
"kind": "Content",
|
19702
|
+
"text": "): "
|
19703
|
+
},
|
19704
|
+
{
|
19705
|
+
"kind": "Content",
|
19706
|
+
"text": "void"
|
19707
|
+
},
|
19708
|
+
{
|
19709
|
+
"kind": "Content",
|
19710
|
+
"text": ";"
|
19711
|
+
}
|
19712
|
+
],
|
19713
|
+
"isStatic": false,
|
19714
|
+
"returnTypeTokenRange": {
|
19715
|
+
"startIndex": 3,
|
19716
|
+
"endIndex": 4
|
19717
|
+
},
|
19718
|
+
"releaseTag": "Public",
|
19719
|
+
"isProtected": false,
|
19720
|
+
"overloadIndex": 1,
|
19721
|
+
"parameters": [
|
19722
|
+
{
|
19723
|
+
"parameterName": "frictionCombineRule",
|
19724
|
+
"parameterTypeTokenRange": {
|
19725
|
+
"startIndex": 1,
|
19726
|
+
"endIndex": 2
|
19727
|
+
},
|
19728
|
+
"isOptional": false
|
19729
|
+
}
|
19730
|
+
],
|
19731
|
+
"isOptional": false,
|
19732
|
+
"isAbstract": false,
|
19733
|
+
"name": "setFrictionCombineRule"
|
19734
|
+
},
|
18926
19735
|
{
|
18927
19736
|
"kind": "Method",
|
18928
19737
|
"canonicalReference": "server!HYTOPIA.Collider#setMass:member(1)",
|
@@ -19351,6 +20160,34 @@
|
|
19351
20160
|
"endIndex": 2
|
19352
20161
|
}
|
19353
20162
|
},
|
20163
|
+
{
|
20164
|
+
"kind": "PropertySignature",
|
20165
|
+
"canonicalReference": "server!HYTOPIA.ColliderOptions#bouncinessCombineRule:member",
|
20166
|
+
"docComment": "/**\n * The bounciness combine rule of the collider.\n */\n",
|
20167
|
+
"excerptTokens": [
|
20168
|
+
{
|
20169
|
+
"kind": "Content",
|
20170
|
+
"text": "bouncinessCombineRule?: "
|
20171
|
+
},
|
20172
|
+
{
|
20173
|
+
"kind": "Reference",
|
20174
|
+
"text": "CoefficientCombineRule",
|
20175
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
20176
|
+
},
|
20177
|
+
{
|
20178
|
+
"kind": "Content",
|
20179
|
+
"text": ";"
|
20180
|
+
}
|
20181
|
+
],
|
20182
|
+
"isReadonly": false,
|
20183
|
+
"isOptional": true,
|
20184
|
+
"releaseTag": "Public",
|
20185
|
+
"name": "bouncinessCombineRule",
|
20186
|
+
"propertyTypeTokenRange": {
|
20187
|
+
"startIndex": 1,
|
20188
|
+
"endIndex": 2
|
20189
|
+
}
|
20190
|
+
},
|
19354
20191
|
{
|
19355
20192
|
"kind": "PropertySignature",
|
19356
20193
|
"canonicalReference": "server!HYTOPIA.ColliderOptions#collisionGroups:member",
|
@@ -19433,6 +20270,34 @@
|
|
19433
20270
|
"endIndex": 2
|
19434
20271
|
}
|
19435
20272
|
},
|
20273
|
+
{
|
20274
|
+
"kind": "PropertySignature",
|
20275
|
+
"canonicalReference": "server!HYTOPIA.ColliderOptions#frictionCombineRule:member",
|
20276
|
+
"docComment": "/**\n * The friction combine rule of the collider.\n */\n",
|
20277
|
+
"excerptTokens": [
|
20278
|
+
{
|
20279
|
+
"kind": "Content",
|
20280
|
+
"text": "frictionCombineRule?: "
|
20281
|
+
},
|
20282
|
+
{
|
20283
|
+
"kind": "Reference",
|
20284
|
+
"text": "CoefficientCombineRule",
|
20285
|
+
"canonicalReference": "server!CoefficientCombineRule:enum"
|
20286
|
+
},
|
20287
|
+
{
|
20288
|
+
"kind": "Content",
|
20289
|
+
"text": ";"
|
20290
|
+
}
|
20291
|
+
],
|
20292
|
+
"isReadonly": false,
|
20293
|
+
"isOptional": true,
|
20294
|
+
"releaseTag": "Public",
|
20295
|
+
"name": "frictionCombineRule",
|
20296
|
+
"propertyTypeTokenRange": {
|
20297
|
+
"startIndex": 1,
|
20298
|
+
"endIndex": 2
|
20299
|
+
}
|
20300
|
+
},
|
19436
20301
|
{
|
19437
20302
|
"kind": "PropertySignature",
|
19438
20303
|
"canonicalReference": "server!HYTOPIA.ColliderOptions#halfExtents:member",
|
@@ -19488,6 +20353,34 @@
|
|
19488
20353
|
"endIndex": 2
|
19489
20354
|
}
|
19490
20355
|
},
|
20356
|
+
{
|
20357
|
+
"kind": "PropertySignature",
|
20358
|
+
"canonicalReference": "server!HYTOPIA.ColliderOptions#indices:member",
|
20359
|
+
"docComment": "/**\n * The indices of the collider if the shape is a trimesh.\n */\n",
|
20360
|
+
"excerptTokens": [
|
20361
|
+
{
|
20362
|
+
"kind": "Content",
|
20363
|
+
"text": "indices?: "
|
20364
|
+
},
|
20365
|
+
{
|
20366
|
+
"kind": "Reference",
|
20367
|
+
"text": "Uint32Array",
|
20368
|
+
"canonicalReference": "!Uint32Array:interface"
|
20369
|
+
},
|
20370
|
+
{
|
20371
|
+
"kind": "Content",
|
20372
|
+
"text": ";"
|
20373
|
+
}
|
20374
|
+
],
|
20375
|
+
"isReadonly": false,
|
20376
|
+
"isOptional": true,
|
20377
|
+
"releaseTag": "Public",
|
20378
|
+
"name": "indices",
|
20379
|
+
"propertyTypeTokenRange": {
|
20380
|
+
"startIndex": 1,
|
20381
|
+
"endIndex": 2
|
20382
|
+
}
|
20383
|
+
},
|
19491
20384
|
{
|
19492
20385
|
"kind": "PropertySignature",
|
19493
20386
|
"canonicalReference": "server!HYTOPIA.ColliderOptions#isSensor:member",
|
@@ -19763,6 +20656,34 @@
|
|
19763
20656
|
"startIndex": 1,
|
19764
20657
|
"endIndex": 2
|
19765
20658
|
}
|
20659
|
+
},
|
20660
|
+
{
|
20661
|
+
"kind": "PropertySignature",
|
20662
|
+
"canonicalReference": "server!HYTOPIA.ColliderOptions#vertices:member",
|
20663
|
+
"docComment": "/**\n * The vertices of the collider if the shape is a trimesh.\n */\n",
|
20664
|
+
"excerptTokens": [
|
20665
|
+
{
|
20666
|
+
"kind": "Content",
|
20667
|
+
"text": "vertices?: "
|
20668
|
+
},
|
20669
|
+
{
|
20670
|
+
"kind": "Reference",
|
20671
|
+
"text": "Float32Array",
|
20672
|
+
"canonicalReference": "!Float32Array:interface"
|
20673
|
+
},
|
20674
|
+
{
|
20675
|
+
"kind": "Content",
|
20676
|
+
"text": ";"
|
20677
|
+
}
|
20678
|
+
],
|
20679
|
+
"isReadonly": false,
|
20680
|
+
"isOptional": true,
|
20681
|
+
"releaseTag": "Public",
|
20682
|
+
"name": "vertices",
|
20683
|
+
"propertyTypeTokenRange": {
|
20684
|
+
"startIndex": 1,
|
20685
|
+
"endIndex": 2
|
20686
|
+
}
|
19766
20687
|
}
|
19767
20688
|
],
|
19768
20689
|
"extendsTokenRanges": []
|
@@ -19907,6 +20828,27 @@
|
|
19907
20828
|
},
|
19908
20829
|
"releaseTag": "Public",
|
19909
20830
|
"name": "ROUND_CYLINDER"
|
20831
|
+
},
|
20832
|
+
{
|
20833
|
+
"kind": "EnumMember",
|
20834
|
+
"canonicalReference": "server!HYTOPIA.ColliderShape.TRIMESH:member",
|
20835
|
+
"docComment": "",
|
20836
|
+
"excerptTokens": [
|
20837
|
+
{
|
20838
|
+
"kind": "Content",
|
20839
|
+
"text": "TRIMESH = "
|
20840
|
+
},
|
20841
|
+
{
|
20842
|
+
"kind": "Content",
|
20843
|
+
"text": "\"trimesh\""
|
20844
|
+
}
|
20845
|
+
],
|
20846
|
+
"initializerTokenRange": {
|
20847
|
+
"startIndex": 1,
|
20848
|
+
"endIndex": 2
|
20849
|
+
},
|
20850
|
+
"releaseTag": "Public",
|
20851
|
+
"name": "TRIMESH"
|
19910
20852
|
}
|
19911
20853
|
]
|
19912
20854
|
},
|
@@ -19921,7 +20863,7 @@
|
|
19921
20863
|
},
|
19922
20864
|
{
|
19923
20865
|
"kind": "Content",
|
19924
|
-
"text": "(other: "
|
20866
|
+
"text": "((other: "
|
19925
20867
|
},
|
19926
20868
|
{
|
19927
20869
|
"kind": "Reference",
|
@@ -19939,7 +20881,25 @@
|
|
19939
20881
|
},
|
19940
20882
|
{
|
19941
20883
|
"kind": "Content",
|
19942
|
-
"text": ", started: boolean) => void"
|
20884
|
+
"text": ", started: boolean) => void) | ((other: "
|
20885
|
+
},
|
20886
|
+
{
|
20887
|
+
"kind": "Reference",
|
20888
|
+
"text": "BlockType",
|
20889
|
+
"canonicalReference": "server!BlockType:class"
|
20890
|
+
},
|
20891
|
+
{
|
20892
|
+
"kind": "Content",
|
20893
|
+
"text": " | "
|
20894
|
+
},
|
20895
|
+
{
|
20896
|
+
"kind": "Reference",
|
20897
|
+
"text": "Entity",
|
20898
|
+
"canonicalReference": "server!Entity:class"
|
20899
|
+
},
|
20900
|
+
{
|
20901
|
+
"kind": "Content",
|
20902
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
19943
20903
|
},
|
19944
20904
|
{
|
19945
20905
|
"kind": "Content",
|
@@ -19951,7 +20911,7 @@
|
|
19951
20911
|
"name": "CollisionCallback",
|
19952
20912
|
"typeTokenRange": {
|
19953
20913
|
"startIndex": 1,
|
19954
|
-
"endIndex":
|
20914
|
+
"endIndex": 10
|
19955
20915
|
}
|
19956
20916
|
},
|
19957
20917
|
{
|
@@ -20641,12 +21601,12 @@
|
|
20641
21601
|
},
|
20642
21602
|
{
|
20643
21603
|
"kind": "Method",
|
20644
|
-
"canonicalReference": "server!HYTOPIA.DefaultCharacterController#
|
20645
|
-
"docComment": "/**\n * Creates the
|
21604
|
+
"canonicalReference": "server!HYTOPIA.DefaultCharacterController#createColliders:member(1)",
|
21605
|
+
"docComment": "/**\n * Creates the colliders for the character controller, overriding the default implementation.\n *\n * @returns An array of colliders.\n */\n",
|
20646
21606
|
"excerptTokens": [
|
20647
21607
|
{
|
20648
21608
|
"kind": "Content",
|
20649
|
-
"text": "
|
21609
|
+
"text": "createColliders(): "
|
20650
21610
|
},
|
20651
21611
|
{
|
20652
21612
|
"kind": "Reference",
|
@@ -20673,7 +21633,7 @@
|
|
20673
21633
|
"parameters": [],
|
20674
21634
|
"isOptional": false,
|
20675
21635
|
"isAbstract": false,
|
20676
|
-
"name": "
|
21636
|
+
"name": "createColliders"
|
20677
21637
|
},
|
20678
21638
|
{
|
20679
21639
|
"kind": "Property",
|
@@ -21401,6 +22361,66 @@
|
|
21401
22361
|
"isProtected": false,
|
21402
22362
|
"isAbstract": false
|
21403
22363
|
},
|
22364
|
+
{
|
22365
|
+
"kind": "Property",
|
22366
|
+
"canonicalReference": "server!HYTOPIA.Entity#isBlockEntity:member",
|
22367
|
+
"docComment": "/**\n * Whether the entity is a block entity.\n */\n",
|
22368
|
+
"excerptTokens": [
|
22369
|
+
{
|
22370
|
+
"kind": "Content",
|
22371
|
+
"text": "get isBlockEntity(): "
|
22372
|
+
},
|
22373
|
+
{
|
22374
|
+
"kind": "Content",
|
22375
|
+
"text": "boolean"
|
22376
|
+
},
|
22377
|
+
{
|
22378
|
+
"kind": "Content",
|
22379
|
+
"text": ";"
|
22380
|
+
}
|
22381
|
+
],
|
22382
|
+
"isReadonly": true,
|
22383
|
+
"isOptional": false,
|
22384
|
+
"releaseTag": "Public",
|
22385
|
+
"name": "isBlockEntity",
|
22386
|
+
"propertyTypeTokenRange": {
|
22387
|
+
"startIndex": 1,
|
22388
|
+
"endIndex": 2
|
22389
|
+
},
|
22390
|
+
"isStatic": false,
|
22391
|
+
"isProtected": false,
|
22392
|
+
"isAbstract": false
|
22393
|
+
},
|
22394
|
+
{
|
22395
|
+
"kind": "Property",
|
22396
|
+
"canonicalReference": "server!HYTOPIA.Entity#isModelEntity:member",
|
22397
|
+
"docComment": "/**\n * Whether the entity is a model entity.\n */\n",
|
22398
|
+
"excerptTokens": [
|
22399
|
+
{
|
22400
|
+
"kind": "Content",
|
22401
|
+
"text": "get isModelEntity(): "
|
22402
|
+
},
|
22403
|
+
{
|
22404
|
+
"kind": "Content",
|
22405
|
+
"text": "boolean"
|
22406
|
+
},
|
22407
|
+
{
|
22408
|
+
"kind": "Content",
|
22409
|
+
"text": ";"
|
22410
|
+
}
|
22411
|
+
],
|
22412
|
+
"isReadonly": true,
|
22413
|
+
"isOptional": false,
|
22414
|
+
"releaseTag": "Public",
|
22415
|
+
"name": "isModelEntity",
|
22416
|
+
"propertyTypeTokenRange": {
|
22417
|
+
"startIndex": 1,
|
22418
|
+
"endIndex": 2
|
22419
|
+
},
|
22420
|
+
"isStatic": false,
|
22421
|
+
"isProtected": false,
|
22422
|
+
"isAbstract": false
|
22423
|
+
},
|
21404
22424
|
{
|
21405
22425
|
"kind": "Property",
|
21406
22426
|
"canonicalReference": "server!HYTOPIA.Entity#isSpawned:member",
|
@@ -21594,7 +22614,7 @@
|
|
21594
22614
|
{
|
21595
22615
|
"kind": "Property",
|
21596
22616
|
"canonicalReference": "server!HYTOPIA.Entity#onBlockCollision:member",
|
21597
|
-
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
22617
|
+
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
21598
22618
|
"excerptTokens": [
|
21599
22619
|
{
|
21600
22620
|
"kind": "Content",
|
@@ -21602,7 +22622,25 @@
|
|
21602
22622
|
},
|
21603
22623
|
{
|
21604
22624
|
"kind": "Content",
|
21605
|
-
"text": "(entity: "
|
22625
|
+
"text": "((entity: "
|
22626
|
+
},
|
22627
|
+
{
|
22628
|
+
"kind": "Reference",
|
22629
|
+
"text": "Entity",
|
22630
|
+
"canonicalReference": "server!Entity:class"
|
22631
|
+
},
|
22632
|
+
{
|
22633
|
+
"kind": "Content",
|
22634
|
+
"text": ", blockType: "
|
22635
|
+
},
|
22636
|
+
{
|
22637
|
+
"kind": "Reference",
|
22638
|
+
"text": "BlockType",
|
22639
|
+
"canonicalReference": "server!BlockType:class"
|
22640
|
+
},
|
22641
|
+
{
|
22642
|
+
"kind": "Content",
|
22643
|
+
"text": ", started: boolean) => void) | ((entity: "
|
21606
22644
|
},
|
21607
22645
|
{
|
21608
22646
|
"kind": "Reference",
|
@@ -21620,7 +22658,7 @@
|
|
21620
22658
|
},
|
21621
22659
|
{
|
21622
22660
|
"kind": "Content",
|
21623
|
-
"text": ", started: boolean) => void"
|
22661
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
21624
22662
|
},
|
21625
22663
|
{
|
21626
22664
|
"kind": "Content",
|
@@ -21633,7 +22671,7 @@
|
|
21633
22671
|
"name": "onBlockCollision",
|
21634
22672
|
"propertyTypeTokenRange": {
|
21635
22673
|
"startIndex": 1,
|
21636
|
-
"endIndex":
|
22674
|
+
"endIndex": 10
|
21637
22675
|
},
|
21638
22676
|
"isStatic": false,
|
21639
22677
|
"isProtected": false,
|
@@ -21642,7 +22680,7 @@
|
|
21642
22680
|
{
|
21643
22681
|
"kind": "Property",
|
21644
22682
|
"canonicalReference": "server!HYTOPIA.Entity#onBlockContactForce:member",
|
21645
|
-
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
22683
|
+
"docComment": "/**\n * A function that is called when the entity collides with a block.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param blockType - The block type that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
21646
22684
|
"excerptTokens": [
|
21647
22685
|
{
|
21648
22686
|
"kind": "Content",
|
@@ -21738,7 +22776,7 @@
|
|
21738
22776
|
{
|
21739
22777
|
"kind": "Property",
|
21740
22778
|
"canonicalReference": "server!HYTOPIA.Entity#onEntityCollision:member",
|
21741
|
-
"docComment": "/**\n * A function that is called when the entity collides with another entity.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
22779
|
+
"docComment": "/**\n * A function that is called when the entity collides with another entity.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param started - Whether the collision started or ended.\n */\n",
|
21742
22780
|
"excerptTokens": [
|
21743
22781
|
{
|
21744
22782
|
"kind": "Content",
|
@@ -21746,7 +22784,25 @@
|
|
21746
22784
|
},
|
21747
22785
|
{
|
21748
22786
|
"kind": "Content",
|
21749
|
-
"text": "(entity: "
|
22787
|
+
"text": "((entity: "
|
22788
|
+
},
|
22789
|
+
{
|
22790
|
+
"kind": "Reference",
|
22791
|
+
"text": "Entity",
|
22792
|
+
"canonicalReference": "server!Entity:class"
|
22793
|
+
},
|
22794
|
+
{
|
22795
|
+
"kind": "Content",
|
22796
|
+
"text": ", otherEntity: "
|
22797
|
+
},
|
22798
|
+
{
|
22799
|
+
"kind": "Reference",
|
22800
|
+
"text": "Entity",
|
22801
|
+
"canonicalReference": "server!Entity:class"
|
22802
|
+
},
|
22803
|
+
{
|
22804
|
+
"kind": "Content",
|
22805
|
+
"text": ", started: boolean) => void) | ((entity: "
|
21750
22806
|
},
|
21751
22807
|
{
|
21752
22808
|
"kind": "Reference",
|
@@ -21764,7 +22820,7 @@
|
|
21764
22820
|
},
|
21765
22821
|
{
|
21766
22822
|
"kind": "Content",
|
21767
|
-
"text": ", started: boolean) => void"
|
22823
|
+
"text": ", started: boolean, colliderHandleA: number, colliderHandleB: number) => void)"
|
21768
22824
|
},
|
21769
22825
|
{
|
21770
22826
|
"kind": "Content",
|
@@ -21777,7 +22833,7 @@
|
|
21777
22833
|
"name": "onEntityCollision",
|
21778
22834
|
"propertyTypeTokenRange": {
|
21779
22835
|
"startIndex": 1,
|
21780
|
-
"endIndex":
|
22836
|
+
"endIndex": 10
|
21781
22837
|
},
|
21782
22838
|
"isStatic": false,
|
21783
22839
|
"isProtected": false,
|
@@ -21786,7 +22842,7 @@
|
|
21786
22842
|
{
|
21787
22843
|
"kind": "Property",
|
21788
22844
|
"canonicalReference": "server!HYTOPIA.Entity#onEntityContactForce:member",
|
21789
|
-
"docComment": "/**\n * A function that is called when the entity contacts another entity.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
22845
|
+
"docComment": "/**\n * A function that is called when the entity contacts another entity.\n *\n * @remarks\n *\n * This must be set before the entity is spawned.\n *\n * @param entity - The Entity instance the collision is for.\n *\n * @param otherEntity - The other entity that the entity collided with.\n *\n * @param contactForceData - The contact force data.\n */\n",
|
21790
22846
|
"excerptTokens": [
|
21791
22847
|
{
|
21792
22848
|
"kind": "Content",
|
@@ -22137,7 +23193,7 @@
|
|
22137
23193
|
{
|
22138
23194
|
"kind": "Method",
|
22139
23195
|
"canonicalReference": "server!HYTOPIA.Entity#startModelLoopedAnimations:member(1)",
|
22140
|
-
"docComment": "/**\n * Starts looped animations for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
23196
|
+
"docComment": "/**\n * Starts looped animations for the entity, blending with other animations currently playing.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to start.\n */\n",
|
22141
23197
|
"excerptTokens": [
|
22142
23198
|
{
|
22143
23199
|
"kind": "Content",
|
@@ -22185,7 +23241,7 @@
|
|
22185
23241
|
{
|
22186
23242
|
"kind": "Method",
|
22187
23243
|
"canonicalReference": "server!HYTOPIA.Entity#startModelOneshotAnimations:member(1)",
|
22188
|
-
"docComment": "/**\n * Starts a oneshot animation for the entity, blending with other animations currently playing.\n *\n * @param animations - The animations to start.\n */\n",
|
23244
|
+
"docComment": "/**\n * Starts a oneshot animation for the entity, blending with other animations currently playing.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to start.\n */\n",
|
22189
23245
|
"excerptTokens": [
|
22190
23246
|
{
|
22191
23247
|
"kind": "Content",
|
@@ -22233,7 +23289,7 @@
|
|
22233
23289
|
{
|
22234
23290
|
"kind": "Method",
|
22235
23291
|
"canonicalReference": "server!HYTOPIA.Entity#stopModelAnimations:member(1)",
|
22236
|
-
"docComment": "/**\n * Stops the provided model animations for the entity.\n *\n * @param animations - The animations to stop.\n */\n",
|
23292
|
+
"docComment": "/**\n * Stops the provided model animations for the entity.\n *\n * @remarks\n *\n * This method will be ignored and do nothing if the entity is a block entity.\n *\n * @param animations - The animations to stop.\n */\n",
|
22237
23293
|
"excerptTokens": [
|
22238
23294
|
{
|
22239
23295
|
"kind": "Content",
|
@@ -34253,6 +35309,77 @@
|
|
34253
35309
|
"isAbstract": false,
|
34254
35310
|
"name": "enableDebugRendering"
|
34255
35311
|
},
|
35312
|
+
{
|
35313
|
+
"kind": "Method",
|
35314
|
+
"canonicalReference": "server!HYTOPIA.Simulation#getContactManifolds:member(1)",
|
35315
|
+
"docComment": "/**\n * Gets the contact manifolds for a pair of colliders.\n *\n * @remarks\n *\n * Contact manifolds will not be returned for contacts that involve sensors.\n *\n * @param colliderHandleA - The handle of the first collider.\n *\n * @param colliderHandleB - The handle of the second collider.\n *\n * @returns The contact manifolds, or an empty array if no contact.\n */\n",
|
35316
|
+
"excerptTokens": [
|
35317
|
+
{
|
35318
|
+
"kind": "Content",
|
35319
|
+
"text": "getContactManifolds(colliderHandleA: "
|
35320
|
+
},
|
35321
|
+
{
|
35322
|
+
"kind": "Reference",
|
35323
|
+
"text": "RAPIER.ColliderHandle",
|
35324
|
+
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
35325
|
+
},
|
35326
|
+
{
|
35327
|
+
"kind": "Content",
|
35328
|
+
"text": ", colliderHandleB: "
|
35329
|
+
},
|
35330
|
+
{
|
35331
|
+
"kind": "Reference",
|
35332
|
+
"text": "RAPIER.ColliderHandle",
|
35333
|
+
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
35334
|
+
},
|
35335
|
+
{
|
35336
|
+
"kind": "Content",
|
35337
|
+
"text": "): "
|
35338
|
+
},
|
35339
|
+
{
|
35340
|
+
"kind": "Reference",
|
35341
|
+
"text": "ContactManifold",
|
35342
|
+
"canonicalReference": "server!~ContactManifold:type"
|
35343
|
+
},
|
35344
|
+
{
|
35345
|
+
"kind": "Content",
|
35346
|
+
"text": "[]"
|
35347
|
+
},
|
35348
|
+
{
|
35349
|
+
"kind": "Content",
|
35350
|
+
"text": ";"
|
35351
|
+
}
|
35352
|
+
],
|
35353
|
+
"isStatic": false,
|
35354
|
+
"returnTypeTokenRange": {
|
35355
|
+
"startIndex": 5,
|
35356
|
+
"endIndex": 7
|
35357
|
+
},
|
35358
|
+
"releaseTag": "Public",
|
35359
|
+
"isProtected": false,
|
35360
|
+
"overloadIndex": 1,
|
35361
|
+
"parameters": [
|
35362
|
+
{
|
35363
|
+
"parameterName": "colliderHandleA",
|
35364
|
+
"parameterTypeTokenRange": {
|
35365
|
+
"startIndex": 1,
|
35366
|
+
"endIndex": 2
|
35367
|
+
},
|
35368
|
+
"isOptional": false
|
35369
|
+
},
|
35370
|
+
{
|
35371
|
+
"parameterName": "colliderHandleB",
|
35372
|
+
"parameterTypeTokenRange": {
|
35373
|
+
"startIndex": 3,
|
35374
|
+
"endIndex": 4
|
35375
|
+
},
|
35376
|
+
"isOptional": false
|
35377
|
+
}
|
35378
|
+
],
|
35379
|
+
"isOptional": false,
|
35380
|
+
"isAbstract": false,
|
35381
|
+
"name": "getContactManifolds"
|
35382
|
+
},
|
34256
35383
|
{
|
34257
35384
|
"kind": "Property",
|
34258
35385
|
"canonicalReference": "server!HYTOPIA.Simulation#gravity:member",
|
@@ -46918,6 +48045,77 @@
|
|
46918
48045
|
"isAbstract": false,
|
46919
48046
|
"name": "enableDebugRendering"
|
46920
48047
|
},
|
48048
|
+
{
|
48049
|
+
"kind": "Method",
|
48050
|
+
"canonicalReference": "server!Simulation#getContactManifolds:member(1)",
|
48051
|
+
"docComment": "/**\n * Gets the contact manifolds for a pair of colliders.\n *\n * @remarks\n *\n * Contact manifolds will not be returned for contacts that involve sensors.\n *\n * @param colliderHandleA - The handle of the first collider.\n *\n * @param colliderHandleB - The handle of the second collider.\n *\n * @returns The contact manifolds, or an empty array if no contact.\n */\n",
|
48052
|
+
"excerptTokens": [
|
48053
|
+
{
|
48054
|
+
"kind": "Content",
|
48055
|
+
"text": "getContactManifolds(colliderHandleA: "
|
48056
|
+
},
|
48057
|
+
{
|
48058
|
+
"kind": "Reference",
|
48059
|
+
"text": "RAPIER.ColliderHandle",
|
48060
|
+
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
48061
|
+
},
|
48062
|
+
{
|
48063
|
+
"kind": "Content",
|
48064
|
+
"text": ", colliderHandleB: "
|
48065
|
+
},
|
48066
|
+
{
|
48067
|
+
"kind": "Reference",
|
48068
|
+
"text": "RAPIER.ColliderHandle",
|
48069
|
+
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
48070
|
+
},
|
48071
|
+
{
|
48072
|
+
"kind": "Content",
|
48073
|
+
"text": "): "
|
48074
|
+
},
|
48075
|
+
{
|
48076
|
+
"kind": "Reference",
|
48077
|
+
"text": "ContactManifold",
|
48078
|
+
"canonicalReference": "server!~ContactManifold:type"
|
48079
|
+
},
|
48080
|
+
{
|
48081
|
+
"kind": "Content",
|
48082
|
+
"text": "[]"
|
48083
|
+
},
|
48084
|
+
{
|
48085
|
+
"kind": "Content",
|
48086
|
+
"text": ";"
|
48087
|
+
}
|
48088
|
+
],
|
48089
|
+
"isStatic": false,
|
48090
|
+
"returnTypeTokenRange": {
|
48091
|
+
"startIndex": 5,
|
48092
|
+
"endIndex": 7
|
48093
|
+
},
|
48094
|
+
"releaseTag": "Public",
|
48095
|
+
"isProtected": false,
|
48096
|
+
"overloadIndex": 1,
|
48097
|
+
"parameters": [
|
48098
|
+
{
|
48099
|
+
"parameterName": "colliderHandleA",
|
48100
|
+
"parameterTypeTokenRange": {
|
48101
|
+
"startIndex": 1,
|
48102
|
+
"endIndex": 2
|
48103
|
+
},
|
48104
|
+
"isOptional": false
|
48105
|
+
},
|
48106
|
+
{
|
48107
|
+
"parameterName": "colliderHandleB",
|
48108
|
+
"parameterTypeTokenRange": {
|
48109
|
+
"startIndex": 3,
|
48110
|
+
"endIndex": 4
|
48111
|
+
},
|
48112
|
+
"isOptional": false
|
48113
|
+
}
|
48114
|
+
],
|
48115
|
+
"isOptional": false,
|
48116
|
+
"isAbstract": false,
|
48117
|
+
"name": "getContactManifolds"
|
48118
|
+
},
|
46921
48119
|
{
|
46922
48120
|
"kind": "Property",
|
46923
48121
|
"canonicalReference": "server!Simulation#gravity:member",
|