hytopia 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -1
- package/boilerplate/assets/audio/sfx/step.wav +0 -0
- package/boilerplate/assets/map.json +2623 -0
- package/boilerplate/index.ts +103 -0
- package/docs/index.md +29 -0
- package/docs/server.audio._constructor_.md +47 -0
- package/docs/server.audio.attachedtoentity.md +13 -0
- package/docs/server.audio.detune.md +13 -0
- package/docs/server.audio.distortion.md +13 -0
- package/docs/server.audio.duration.md +13 -0
- package/docs/server.audio.id.md +13 -0
- package/docs/server.audio.isloaded.md +13 -0
- package/docs/server.audio.isplaying.md +13 -0
- package/docs/server.audio.ispositional.md +13 -0
- package/docs/server.audio.loop.md +13 -0
- package/docs/server.audio.md +591 -0
- package/docs/server.audio.offset.md +13 -0
- package/docs/server.audio.pause.md +17 -0
- package/docs/server.audio.play.md +69 -0
- package/docs/server.audio.playbackrate.md +13 -0
- package/docs/server.audio.position.md +13 -0
- package/docs/server.audio.referencedistance.md +13 -0
- package/docs/server.audio.setattachedtoentity.md +53 -0
- package/docs/server.audio.setdetune.md +53 -0
- package/docs/server.audio.setdistortion.md +53 -0
- package/docs/server.audio.setplaybackrate.md +53 -0
- package/docs/server.audio.setposition.md +53 -0
- package/docs/server.audio.setreferencedistance.md +53 -0
- package/docs/server.audio.setvolume.md +53 -0
- package/docs/server.audio.starttick.md +13 -0
- package/docs/server.audio.uri.md +13 -0
- package/docs/server.audio.volume.md +13 -0
- package/docs/server.audio.world.md +13 -0
- package/docs/server.audioeventpayload.md +118 -0
- package/docs/server.audioeventpayload.pause.audio.md +11 -0
- package/docs/server.audioeventpayload.pause.md +53 -0
- package/docs/server.audioeventpayload.play.audio.md +11 -0
- package/docs/server.audioeventpayload.play.md +53 -0
- package/docs/server.audioeventpayload.playrestart.audio.md +11 -0
- package/docs/server.audioeventpayload.playrestart.md +53 -0
- package/docs/server.audioeventpayload.setattachedtoentity.audio.md +11 -0
- package/docs/server.audioeventpayload.setattachedtoentity.entity.md +11 -0
- package/docs/server.audioeventpayload.setattachedtoentity.md +70 -0
- package/docs/server.audioeventpayload.setdetune.audio.md +11 -0
- package/docs/server.audioeventpayload.setdetune.detune.md +11 -0
- package/docs/server.audioeventpayload.setdetune.md +70 -0
- package/docs/server.audioeventpayload.setdistortion.audio.md +11 -0
- package/docs/server.audioeventpayload.setdistortion.distortion.md +11 -0
- package/docs/server.audioeventpayload.setdistortion.md +70 -0
- package/docs/server.audioeventpayload.setplaybackrate.audio.md +11 -0
- package/docs/server.audioeventpayload.setplaybackrate.md +70 -0
- package/docs/server.audioeventpayload.setplaybackrate.playbackrate.md +11 -0
- package/docs/server.audioeventpayload.setposition.audio.md +11 -0
- package/docs/server.audioeventpayload.setposition.md +70 -0
- package/docs/server.audioeventpayload.setposition.position.md +11 -0
- package/docs/server.audioeventpayload.setreferencedistance.audio.md +11 -0
- package/docs/server.audioeventpayload.setreferencedistance.md +70 -0
- package/docs/server.audioeventpayload.setreferencedistance.referencedistance.md +11 -0
- package/docs/server.audioeventpayload.setvolume.audio.md +11 -0
- package/docs/server.audioeventpayload.setvolume.md +70 -0
- package/docs/server.audioeventpayload.setvolume.volume.md +11 -0
- package/docs/server.audioeventtype.md +173 -0
- package/docs/server.audiomanager.getallaudios.md +19 -0
- package/docs/server.audiomanager.getallentityattachedaudios.md +55 -0
- package/docs/server.audiomanager.getallloopedaudios.md +19 -0
- package/docs/server.audiomanager.getalloneshotaudios.md +19 -0
- package/docs/server.audiomanager.md +150 -0
- package/docs/server.audiomanager.world.md +13 -0
- package/docs/server.audiooptions.attachedtoentity.md +13 -0
- package/docs/server.audiooptions.detune.md +13 -0
- package/docs/server.audiooptions.distortion.md +13 -0
- package/docs/server.audiooptions.duration.md +13 -0
- package/docs/server.audiooptions.loop.md +13 -0
- package/docs/server.audiooptions.md +247 -0
- package/docs/server.audiooptions.offset.md +13 -0
- package/docs/server.audiooptions.playbackrate.md +13 -0
- package/docs/server.audiooptions.position.md +13 -0
- package/docs/server.audiooptions.referencedistance.md +13 -0
- package/docs/server.audiooptions.uri.md +13 -0
- package/docs/server.audiooptions.volume.md +13 -0
- package/docs/server.basecharactercontroller._constructor_.md +65 -0
- package/docs/server.basecharactercontroller.createsensorcolliders.md +19 -0
- package/docs/server.basecharactercontroller.entity.md +13 -0
- package/docs/server.basecharactercontroller.md +197 -0
- package/docs/server.basecharactercontroller.ontickpathfindingmovement.md +13 -0
- package/docs/server.basecharactercontroller.ontickplayermovement.md +13 -0
- package/docs/server.basecharactercontroller.tickpathfindingmovement.md +69 -0
- package/docs/server.basecharactercontroller.tickplayermovement.md +85 -0
- package/docs/server.block.blocktype.md +13 -0
- package/docs/server.block.globalcoordinate.md +13 -0
- package/docs/server.block.md +86 -0
- package/docs/server.blocktype._constructor_.md +49 -0
- package/docs/server.blocktype.collideroptions.md +13 -0
- package/docs/server.blocktype.id.md +13 -0
- package/docs/server.blocktype.ismeshable.md +13 -0
- package/docs/server.blocktype.md +235 -0
- package/docs/server.blocktype.name.md +13 -0
- package/docs/server.blocktype.onentitycollision.md +13 -0
- package/docs/server.blocktype.onentitycontactforce.md +13 -0
- package/docs/server.blocktype.textureuri.md +13 -0
- package/docs/server.blocktypeoptions.customcollideroptions.md +11 -0
- package/docs/server.blocktypeoptions.id.md +11 -0
- package/docs/server.blocktypeoptions.md +108 -0
- package/docs/server.blocktypeoptions.name.md +11 -0
- package/docs/server.blocktypeoptions.textureuri.md +11 -0
- package/docs/server.blocktyperegistry.getallblocktypes.md +19 -0
- package/docs/server.blocktyperegistry.getblocktype.md +55 -0
- package/docs/server.blocktyperegistry.md +153 -0
- package/docs/server.blocktyperegistry.registerblocktype.md +69 -0
- package/docs/server.blocktyperegistry.registergenericblocktype.md +55 -0
- package/docs/server.blocktyperegistry.world.md +13 -0
- package/docs/server.blocktyperegistryeventpayload.md +37 -0
- package/docs/server.blocktyperegistryeventpayload.registerblocktype.blocktype.md +11 -0
- package/docs/server.blocktyperegistryeventpayload.registerblocktype.blocktyperegistry.md +11 -0
- package/docs/server.blocktyperegistryeventpayload.registerblocktype.id.md +11 -0
- package/docs/server.blocktyperegistryeventpayload.registerblocktype.md +87 -0
- package/docs/server.blocktyperegistryeventtype.md +47 -0
- package/docs/server.chateventpayload.md +46 -0
- package/docs/server.chateventpayload.sendbroadcastmessage.color.md +11 -0
- package/docs/server.chateventpayload.sendbroadcastmessage.md +72 -0
- package/docs/server.chateventpayload.sendbroadcastmessage.message.md +11 -0
- package/docs/server.chateventpayload.sendplayermessage.color.md +11 -0
- package/docs/server.chateventpayload.sendplayermessage.md +89 -0
- package/docs/server.chateventpayload.sendplayermessage.message.md +11 -0
- package/docs/server.chateventpayload.sendplayermessage.player.md +11 -0
- package/docs/server.chateventtype.md +61 -0
- package/docs/server.chatmanager.md +112 -0
- package/docs/server.chatmanager.registercommand.md +69 -0
- package/docs/server.chatmanager.sendbroadcastmessage.md +76 -0
- package/docs/server.chatmanager.sendplayermessage.md +92 -0
- package/docs/server.chatmanager.unregistercommand.md +53 -0
- package/docs/server.chunk._constructor_.md +13 -0
- package/docs/server.chunk.blockindextolocalcoordinate.md +55 -0
- package/docs/server.chunk.blocks.md +13 -0
- package/docs/server.chunk.despawn.md +17 -0
- package/docs/server.chunk.globalcoordinatetolocalcoordinate.md +55 -0
- package/docs/server.chunk.globalcoordinatetoorigincoordinate.md +55 -0
- package/docs/server.chunk.issimulated.md +13 -0
- package/docs/server.chunk.isspawned.md +13 -0
- package/docs/server.chunk.isvalidorigincoordinate.md +55 -0
- package/docs/server.chunk.md +324 -0
- package/docs/server.chunk.origincoordinate.md +13 -0
- package/docs/server.chunk.setblock.md +69 -0
- package/docs/server.chunk.spawn.md +69 -0
- package/docs/server.chunk.world.md +13 -0
- package/docs/server.chunkeventpayload.despawn.chunk.md +11 -0
- package/docs/server.chunkeventpayload.despawn.md +53 -0
- package/docs/server.chunkeventpayload.md +55 -0
- package/docs/server.chunkeventpayload.setblock.blocktypeid.md +11 -0
- package/docs/server.chunkeventpayload.setblock.chunk.md +11 -0
- package/docs/server.chunkeventpayload.setblock.globalcoordinate.md +11 -0
- package/docs/server.chunkeventpayload.setblock.localcoordinate.md +11 -0
- package/docs/server.chunkeventpayload.setblock.md +104 -0
- package/docs/server.chunkeventpayload.spawn.chunk.md +11 -0
- package/docs/server.chunkeventpayload.spawn.md +53 -0
- package/docs/server.chunkeventtype.md +75 -0
- package/docs/server.chunklattice._constructor_.md +49 -0
- package/docs/server.chunklattice.getallchunks.md +19 -0
- package/docs/server.chunklattice.getchunk.md +55 -0
- package/docs/server.chunklattice.haschunk.md +55 -0
- package/docs/server.chunklattice.md +127 -0
- package/docs/server.chunklattice.setblock.md +69 -0
- package/docs/server.collider._constructor_.md +49 -0
- package/docs/server.collider.addtosimulation.md +69 -0
- package/docs/server.collider.enablecollisionevents.md +53 -0
- package/docs/server.collider.enablecontactforceevents.md +53 -0
- package/docs/server.collider.getbounciness.md +19 -0
- package/docs/server.collider.getcollisiongroups.md +19 -0
- package/docs/server.collider.getfriction.md +19 -0
- package/docs/server.collider.getrelativerotation.md +19 -0
- package/docs/server.collider.getrelativetranslation.md +19 -0
- package/docs/server.collider.isenabled.md +13 -0
- package/docs/server.collider.isremoved.md +13 -0
- package/docs/server.collider.issensor.md +13 -0
- package/docs/server.collider.issimulated.md +13 -0
- package/docs/server.collider.md +509 -0
- package/docs/server.collider.parentrigidbody.md +13 -0
- package/docs/server.collider.rawcollider.md +13 -0
- package/docs/server.collider.removefromsimulation.md +17 -0
- package/docs/server.collider.setbounciness.md +53 -0
- package/docs/server.collider.setcollisiongroups.md +53 -0
- package/docs/server.collider.setenabled.md +53 -0
- package/docs/server.collider.setfriction.md +53 -0
- package/docs/server.collider.setmass.md +53 -0
- package/docs/server.collider.setoncollision.md +53 -0
- package/docs/server.collider.setrelativerotation.md +53 -0
- package/docs/server.collider.setrelativetranslation.md +53 -0
- package/docs/server.collider.setsensor.md +53 -0
- package/docs/server.collider.settag.md +53 -0
- package/docs/server.collider.tag.md +13 -0
- package/docs/server.collideroptions.borderradius.md +13 -0
- package/docs/server.collideroptions.bounciness.md +13 -0
- package/docs/server.collideroptions.collisiongroups.md +13 -0
- package/docs/server.collideroptions.enabled.md +13 -0
- package/docs/server.collideroptions.friction.md +13 -0
- package/docs/server.collideroptions.halfextents.md +13 -0
- package/docs/server.collideroptions.halfheight.md +13 -0
- package/docs/server.collideroptions.issensor.md +13 -0
- package/docs/server.collideroptions.mass.md +13 -0
- package/docs/server.collideroptions.md +361 -0
- package/docs/server.collideroptions.oncollision.md +13 -0
- package/docs/server.collideroptions.parentrigidbody.md +13 -0
- package/docs/server.collideroptions.radius.md +13 -0
- package/docs/server.collideroptions.relativerotation.md +13 -0
- package/docs/server.collideroptions.relativetranslation.md +13 -0
- package/docs/server.collideroptions.shape.md +13 -0
- package/docs/server.collideroptions.simulation.md +13 -0
- package/docs/server.collideroptions.tag.md +13 -0
- package/docs/server.collidershape.md +117 -0
- package/docs/server.collisioncallback.md +15 -0
- package/docs/server.collisiongroup.md +116 -0
- package/docs/server.collisiongroups.md +18 -0
- package/docs/server.collisiongroupsbuilder.buildrawcollisiongroups.md +55 -0
- package/docs/server.collisiongroupsbuilder.decodecollisiongroups.md +55 -0
- package/docs/server.collisiongroupsbuilder.decoderawcollisiongroups.md +55 -0
- package/docs/server.collisiongroupsbuilder.isdefaultcollisiongroups.md +55 -0
- package/docs/server.collisiongroupsbuilder.md +101 -0
- package/docs/server.commandcallback.md +15 -0
- package/docs/server.decodedcollisiongroups.md +16 -0
- package/docs/server.default_entity_rigid_body_options.md +13 -0
- package/docs/server.defaultcharactercontroller._constructor_.md +65 -0
- package/docs/server.defaultcharactercontroller.canjump.md +13 -0
- package/docs/server.defaultcharactercontroller.canrun.md +13 -0
- package/docs/server.defaultcharactercontroller.canwalk.md +13 -0
- package/docs/server.defaultcharactercontroller.createsensorcolliders.md +19 -0
- package/docs/server.defaultcharactercontroller.isgrounded.md +13 -0
- package/docs/server.defaultcharactercontroller.isonplatform.md +13 -0
- package/docs/server.defaultcharactercontroller.jumpvelocity.md +13 -0
- package/docs/server.defaultcharactercontroller.md +333 -0
- package/docs/server.defaultcharactercontroller.platform.md +13 -0
- package/docs/server.defaultcharactercontroller.runvelocity.md +13 -0
- package/docs/server.defaultcharactercontroller.tickpathfindingmovement.md +69 -0
- package/docs/server.defaultcharactercontroller.tickplayermovement.md +85 -0
- package/docs/server.defaultcharactercontroller.walkvelocity.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.canjump.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.canrun.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.canwalk.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.jumpvelocity.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.md +152 -0
- package/docs/server.defaultcharactercontrolleroptions.runvelocity.md +13 -0
- package/docs/server.defaultcharactercontrolleroptions.walkvelocity.md +13 -0
- package/docs/server.entity._constructor_.md +49 -0
- package/docs/server.entity.charactercontroller.md +13 -0
- package/docs/server.entity.createcustomcharactercontroller.md +13 -0
- package/docs/server.entity.despawn.md +17 -0
- package/docs/server.entity.id.md +13 -0
- package/docs/server.entity.isspawned.md +13 -0
- package/docs/server.entity.md +529 -0
- package/docs/server.entity.modelloopedanimations.md +13 -0
- package/docs/server.entity.modelscale.md +13 -0
- package/docs/server.entity.modeluri.md +13 -0
- package/docs/server.entity.name.md +13 -0
- package/docs/server.entity.onblockcollision.md +13 -0
- package/docs/server.entity.onblockcontactforce.md +13 -0
- package/docs/server.entity.ondespawn.md +13 -0
- package/docs/server.entity.onentitycollision.md +13 -0
- package/docs/server.entity.onentitycontactforce.md +13 -0
- package/docs/server.entity.onspawn.md +13 -0
- package/docs/server.entity.ontick.md +13 -0
- package/docs/server.entity.setcharactercontroller.md +53 -0
- package/docs/server.entity.spawn.md +69 -0
- package/docs/server.entity.startmodelloopedanimations.md +53 -0
- package/docs/server.entity.startmodeloneshotanimations.md +53 -0
- package/docs/server.entity.stopmodelanimations.md +53 -0
- package/docs/server.entity.world.md +13 -0
- package/docs/server.entityeventpayload.despawn.entity.md +11 -0
- package/docs/server.entityeventpayload.despawn.md +53 -0
- package/docs/server.entityeventpayload.md +91 -0
- package/docs/server.entityeventpayload.spawn.entity.md +11 -0
- package/docs/server.entityeventpayload.spawn.md +53 -0
- package/docs/server.entityeventpayload.startmodelloopedanimations.animations.md +11 -0
- package/docs/server.entityeventpayload.startmodelloopedanimations.entity.md +11 -0
- package/docs/server.entityeventpayload.startmodelloopedanimations.md +70 -0
- package/docs/server.entityeventpayload.startmodeloneshotanimations.animations.md +11 -0
- package/docs/server.entityeventpayload.startmodeloneshotanimations.entity.md +11 -0
- package/docs/server.entityeventpayload.startmodeloneshotanimations.md +70 -0
- package/docs/server.entityeventpayload.stopmodelanimations.animations.md +11 -0
- package/docs/server.entityeventpayload.stopmodelanimations.entity.md +11 -0
- package/docs/server.entityeventpayload.stopmodelanimations.md +70 -0
- package/docs/server.entityeventpayload.updaterotation.entity.md +11 -0
- package/docs/server.entityeventpayload.updaterotation.md +70 -0
- package/docs/server.entityeventpayload.updaterotation.rotation.md +11 -0
- package/docs/server.entityeventpayload.updatetranslation.entity.md +11 -0
- package/docs/server.entityeventpayload.updatetranslation.md +70 -0
- package/docs/server.entityeventpayload.updatetranslation.translation.md +11 -0
- package/docs/server.entityeventtype.md +131 -0
- package/docs/server.entitymanager.getallentities.md +19 -0
- package/docs/server.entitymanager.getallplayerentities.md +55 -0
- package/docs/server.entitymanager.getentity.md +55 -0
- package/docs/server.entitymanager.md +136 -0
- package/docs/server.entitymanager.world.md +13 -0
- package/docs/server.entityoptions.md +133 -0
- package/docs/server.entityoptions.modelloopedanimations.md +13 -0
- package/docs/server.entityoptions.modelscale.md +13 -0
- package/docs/server.entityoptions.modeluri.md +13 -0
- package/docs/server.entityoptions.name.md +13 -0
- package/docs/server.entityoptions.rigidbodyoptions.md +13 -0
- package/docs/server.event_2.md +76 -0
- package/docs/server.event_2.payload.md +13 -0
- package/docs/server.event_2.type.md +13 -0
- package/docs/server.eventrouter._constructor_.md +49 -0
- package/docs/server.eventrouter.emit.md +55 -0
- package/docs/server.eventrouter.logallevents.md +13 -0
- package/docs/server.eventrouter.logeventspayloads.md +13 -0
- package/docs/server.eventrouter.logignoreeventprefixes.md +13 -0
- package/docs/server.eventrouter.logignoreevents.md +13 -0
- package/docs/server.eventrouter.logunlistenedevents.md +13 -0
- package/docs/server.eventrouter.md +270 -0
- package/docs/server.eventrouter.off.md +69 -0
- package/docs/server.eventrouter.offall.md +53 -0
- package/docs/server.eventrouter.on.md +73 -0
- package/docs/server.eventrouter.serverinstance.md +13 -0
- package/docs/server.gameserver.instance.md +13 -0
- package/docs/server.gameserver.md +109 -0
- package/docs/server.gameserver.playermanager.md +13 -0
- package/docs/server.gameserver.worlds.md +15 -0
- package/docs/server.gameservereventpayload.md +46 -0
- package/docs/server.gameservereventpayload.start.md +53 -0
- package/docs/server.gameservereventpayload.start.startedatms.md +11 -0
- package/docs/server.gameservereventpayload.stop.md +53 -0
- package/docs/server.gameservereventpayload.stop.stoppedatms.md +11 -0
- package/docs/server.gameservereventtype.md +61 -0
- package/docs/server.hytopia.audio._constructor_.md +47 -0
- package/docs/server.hytopia.audio.attachedtoentity.md +13 -0
- package/docs/server.hytopia.audio.detune.md +13 -0
- package/docs/server.hytopia.audio.distortion.md +13 -0
- package/docs/server.hytopia.audio.duration.md +13 -0
- package/docs/server.hytopia.audio.id.md +13 -0
- package/docs/server.hytopia.audio.isloaded.md +13 -0
- package/docs/server.hytopia.audio.isplaying.md +13 -0
- package/docs/server.hytopia.audio.ispositional.md +13 -0
- package/docs/server.hytopia.audio.loop.md +13 -0
- package/docs/server.hytopia.audio.md +591 -0
- package/docs/server.hytopia.audio.offset.md +13 -0
- package/docs/server.hytopia.audio.pause.md +17 -0
- package/docs/server.hytopia.audio.play.md +69 -0
- package/docs/server.hytopia.audio.playbackrate.md +13 -0
- package/docs/server.hytopia.audio.position.md +13 -0
- package/docs/server.hytopia.audio.referencedistance.md +13 -0
- package/docs/server.hytopia.audio.setattachedtoentity.md +53 -0
- package/docs/server.hytopia.audio.setdetune.md +53 -0
- package/docs/server.hytopia.audio.setdistortion.md +53 -0
- package/docs/server.hytopia.audio.setplaybackrate.md +53 -0
- package/docs/server.hytopia.audio.setposition.md +53 -0
- package/docs/server.hytopia.audio.setreferencedistance.md +53 -0
- package/docs/server.hytopia.audio.setvolume.md +53 -0
- package/docs/server.hytopia.audio.starttick.md +13 -0
- package/docs/server.hytopia.audio.uri.md +13 -0
- package/docs/server.hytopia.audio.volume.md +13 -0
- package/docs/server.hytopia.audio.world.md +13 -0
- package/docs/server.hytopia.audioeventpayload.md +118 -0
- package/docs/server.hytopia.audioeventpayload.pause.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.pause.md +53 -0
- package/docs/server.hytopia.audioeventpayload.play.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.play.md +53 -0
- package/docs/server.hytopia.audioeventpayload.playrestart.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.playrestart.md +53 -0
- package/docs/server.hytopia.audioeventpayload.setattachedtoentity.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setattachedtoentity.entity.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setattachedtoentity.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setdetune.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setdetune.detune.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setdetune.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setdistortion.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setdistortion.distortion.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setdistortion.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setplaybackrate.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setplaybackrate.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setplaybackrate.playbackrate.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setposition.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setposition.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setposition.position.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setreferencedistance.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setreferencedistance.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setreferencedistance.referencedistance.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setvolume.audio.md +11 -0
- package/docs/server.hytopia.audioeventpayload.setvolume.md +70 -0
- package/docs/server.hytopia.audioeventpayload.setvolume.volume.md +11 -0
- package/docs/server.hytopia.audioeventtype.md +173 -0
- package/docs/server.hytopia.audiomanager.getallaudios.md +19 -0
- package/docs/server.hytopia.audiomanager.getallentityattachedaudios.md +55 -0
- package/docs/server.hytopia.audiomanager.getallloopedaudios.md +19 -0
- package/docs/server.hytopia.audiomanager.getalloneshotaudios.md +19 -0
- package/docs/server.hytopia.audiomanager.md +150 -0
- package/docs/server.hytopia.audiomanager.world.md +13 -0
- package/docs/server.hytopia.audiooptions.attachedtoentity.md +13 -0
- package/docs/server.hytopia.audiooptions.detune.md +13 -0
- package/docs/server.hytopia.audiooptions.distortion.md +13 -0
- package/docs/server.hytopia.audiooptions.duration.md +13 -0
- package/docs/server.hytopia.audiooptions.loop.md +13 -0
- package/docs/server.hytopia.audiooptions.md +247 -0
- package/docs/server.hytopia.audiooptions.offset.md +13 -0
- package/docs/server.hytopia.audiooptions.playbackrate.md +13 -0
- package/docs/server.hytopia.audiooptions.position.md +13 -0
- package/docs/server.hytopia.audiooptions.referencedistance.md +13 -0
- package/docs/server.hytopia.audiooptions.uri.md +13 -0
- package/docs/server.hytopia.audiooptions.volume.md +13 -0
- package/docs/server.hytopia.basecharactercontroller._constructor_.md +65 -0
- package/docs/server.hytopia.basecharactercontroller.createsensorcolliders.md +19 -0
- package/docs/server.hytopia.basecharactercontroller.entity.md +13 -0
- package/docs/server.hytopia.basecharactercontroller.md +197 -0
- package/docs/server.hytopia.basecharactercontroller.ontickpathfindingmovement.md +13 -0
- package/docs/server.hytopia.basecharactercontroller.ontickplayermovement.md +13 -0
- package/docs/server.hytopia.basecharactercontroller.tickpathfindingmovement.md +69 -0
- package/docs/server.hytopia.basecharactercontroller.tickplayermovement.md +85 -0
- package/docs/server.hytopia.block.blocktype.md +13 -0
- package/docs/server.hytopia.block.globalcoordinate.md +13 -0
- package/docs/server.hytopia.block.md +86 -0
- package/docs/server.hytopia.blocktype._constructor_.md +49 -0
- package/docs/server.hytopia.blocktype.collideroptions.md +13 -0
- package/docs/server.hytopia.blocktype.id.md +13 -0
- package/docs/server.hytopia.blocktype.ismeshable.md +13 -0
- package/docs/server.hytopia.blocktype.md +235 -0
- package/docs/server.hytopia.blocktype.name.md +13 -0
- package/docs/server.hytopia.blocktype.onentitycollision.md +13 -0
- package/docs/server.hytopia.blocktype.onentitycontactforce.md +13 -0
- package/docs/server.hytopia.blocktype.textureuri.md +13 -0
- package/docs/server.hytopia.blocktypeoptions.customcollideroptions.md +11 -0
- package/docs/server.hytopia.blocktypeoptions.id.md +11 -0
- package/docs/server.hytopia.blocktypeoptions.md +108 -0
- package/docs/server.hytopia.blocktypeoptions.name.md +11 -0
- package/docs/server.hytopia.blocktypeoptions.textureuri.md +11 -0
- package/docs/server.hytopia.blocktyperegistry.getallblocktypes.md +19 -0
- package/docs/server.hytopia.blocktyperegistry.getblocktype.md +55 -0
- package/docs/server.hytopia.blocktyperegistry.md +153 -0
- package/docs/server.hytopia.blocktyperegistry.registerblocktype.md +69 -0
- package/docs/server.hytopia.blocktyperegistry.registergenericblocktype.md +55 -0
- package/docs/server.hytopia.blocktyperegistry.world.md +13 -0
- package/docs/server.hytopia.blocktyperegistryeventpayload.md +37 -0
- package/docs/server.hytopia.blocktyperegistryeventpayload.registerblocktype.blocktype.md +11 -0
- package/docs/server.hytopia.blocktyperegistryeventpayload.registerblocktype.blocktyperegistry.md +11 -0
- package/docs/server.hytopia.blocktyperegistryeventpayload.registerblocktype.id.md +11 -0
- package/docs/server.hytopia.blocktyperegistryeventpayload.registerblocktype.md +87 -0
- package/docs/server.hytopia.blocktyperegistryeventtype.md +47 -0
- package/docs/server.hytopia.chateventpayload.md +46 -0
- package/docs/server.hytopia.chateventpayload.sendbroadcastmessage.color.md +11 -0
- package/docs/server.hytopia.chateventpayload.sendbroadcastmessage.md +72 -0
- package/docs/server.hytopia.chateventpayload.sendbroadcastmessage.message.md +11 -0
- package/docs/server.hytopia.chateventpayload.sendplayermessage.color.md +11 -0
- package/docs/server.hytopia.chateventpayload.sendplayermessage.md +89 -0
- package/docs/server.hytopia.chateventpayload.sendplayermessage.message.md +11 -0
- package/docs/server.hytopia.chateventpayload.sendplayermessage.player.md +11 -0
- package/docs/server.hytopia.chateventtype.md +61 -0
- package/docs/server.hytopia.chatmanager.md +112 -0
- package/docs/server.hytopia.chatmanager.registercommand.md +69 -0
- package/docs/server.hytopia.chatmanager.sendbroadcastmessage.md +76 -0
- package/docs/server.hytopia.chatmanager.sendplayermessage.md +92 -0
- package/docs/server.hytopia.chatmanager.unregistercommand.md +53 -0
- package/docs/server.hytopia.chunk._constructor_.md +13 -0
- package/docs/server.hytopia.chunk.blockindextolocalcoordinate.md +55 -0
- package/docs/server.hytopia.chunk.blocks.md +13 -0
- package/docs/server.hytopia.chunk.despawn.md +17 -0
- package/docs/server.hytopia.chunk.globalcoordinatetolocalcoordinate.md +55 -0
- package/docs/server.hytopia.chunk.globalcoordinatetoorigincoordinate.md +55 -0
- package/docs/server.hytopia.chunk.issimulated.md +13 -0
- package/docs/server.hytopia.chunk.isspawned.md +13 -0
- package/docs/server.hytopia.chunk.isvalidorigincoordinate.md +55 -0
- package/docs/server.hytopia.chunk.md +324 -0
- package/docs/server.hytopia.chunk.origincoordinate.md +13 -0
- package/docs/server.hytopia.chunk.setblock.md +69 -0
- package/docs/server.hytopia.chunk.spawn.md +69 -0
- package/docs/server.hytopia.chunk.world.md +13 -0
- package/docs/server.hytopia.chunkeventpayload.despawn.chunk.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.despawn.md +53 -0
- package/docs/server.hytopia.chunkeventpayload.md +55 -0
- package/docs/server.hytopia.chunkeventpayload.setblock.blocktypeid.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.setblock.chunk.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.setblock.globalcoordinate.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.setblock.localcoordinate.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.setblock.md +104 -0
- package/docs/server.hytopia.chunkeventpayload.spawn.chunk.md +11 -0
- package/docs/server.hytopia.chunkeventpayload.spawn.md +53 -0
- package/docs/server.hytopia.chunkeventtype.md +75 -0
- package/docs/server.hytopia.chunklattice._constructor_.md +49 -0
- package/docs/server.hytopia.chunklattice.getallchunks.md +19 -0
- package/docs/server.hytopia.chunklattice.getchunk.md +55 -0
- package/docs/server.hytopia.chunklattice.haschunk.md +55 -0
- package/docs/server.hytopia.chunklattice.md +127 -0
- package/docs/server.hytopia.chunklattice.setblock.md +69 -0
- package/docs/server.hytopia.collider._constructor_.md +49 -0
- package/docs/server.hytopia.collider.addtosimulation.md +69 -0
- package/docs/server.hytopia.collider.enablecollisionevents.md +53 -0
- package/docs/server.hytopia.collider.enablecontactforceevents.md +53 -0
- package/docs/server.hytopia.collider.getbounciness.md +19 -0
- package/docs/server.hytopia.collider.getcollisiongroups.md +19 -0
- package/docs/server.hytopia.collider.getfriction.md +19 -0
- package/docs/server.hytopia.collider.getrelativerotation.md +19 -0
- package/docs/server.hytopia.collider.getrelativetranslation.md +19 -0
- package/docs/server.hytopia.collider.isenabled.md +13 -0
- package/docs/server.hytopia.collider.isremoved.md +13 -0
- package/docs/server.hytopia.collider.issensor.md +13 -0
- package/docs/server.hytopia.collider.issimulated.md +13 -0
- package/docs/server.hytopia.collider.md +509 -0
- package/docs/server.hytopia.collider.parentrigidbody.md +13 -0
- package/docs/server.hytopia.collider.rawcollider.md +13 -0
- package/docs/server.hytopia.collider.removefromsimulation.md +17 -0
- package/docs/server.hytopia.collider.setbounciness.md +53 -0
- package/docs/server.hytopia.collider.setcollisiongroups.md +53 -0
- package/docs/server.hytopia.collider.setenabled.md +53 -0
- package/docs/server.hytopia.collider.setfriction.md +53 -0
- package/docs/server.hytopia.collider.setmass.md +53 -0
- package/docs/server.hytopia.collider.setoncollision.md +53 -0
- package/docs/server.hytopia.collider.setrelativerotation.md +53 -0
- package/docs/server.hytopia.collider.setrelativetranslation.md +53 -0
- package/docs/server.hytopia.collider.setsensor.md +53 -0
- package/docs/server.hytopia.collider.settag.md +53 -0
- package/docs/server.hytopia.collider.tag.md +13 -0
- package/docs/server.hytopia.collideroptions.borderradius.md +13 -0
- package/docs/server.hytopia.collideroptions.bounciness.md +13 -0
- package/docs/server.hytopia.collideroptions.collisiongroups.md +13 -0
- package/docs/server.hytopia.collideroptions.enabled.md +13 -0
- package/docs/server.hytopia.collideroptions.friction.md +13 -0
- package/docs/server.hytopia.collideroptions.halfextents.md +13 -0
- package/docs/server.hytopia.collideroptions.halfheight.md +13 -0
- package/docs/server.hytopia.collideroptions.issensor.md +13 -0
- package/docs/server.hytopia.collideroptions.mass.md +13 -0
- package/docs/server.hytopia.collideroptions.md +361 -0
- package/docs/server.hytopia.collideroptions.oncollision.md +13 -0
- package/docs/server.hytopia.collideroptions.parentrigidbody.md +13 -0
- package/docs/server.hytopia.collideroptions.radius.md +13 -0
- package/docs/server.hytopia.collideroptions.relativerotation.md +13 -0
- package/docs/server.hytopia.collideroptions.relativetranslation.md +13 -0
- package/docs/server.hytopia.collideroptions.shape.md +13 -0
- package/docs/server.hytopia.collideroptions.simulation.md +13 -0
- package/docs/server.hytopia.collideroptions.tag.md +13 -0
- package/docs/server.hytopia.collidershape.md +117 -0
- package/docs/server.hytopia.collisioncallback.md +15 -0
- package/docs/server.hytopia.collisiongroup.md +116 -0
- package/docs/server.hytopia.collisiongroups.md +18 -0
- package/docs/server.hytopia.collisiongroupsbuilder.buildrawcollisiongroups.md +55 -0
- package/docs/server.hytopia.collisiongroupsbuilder.decodecollisiongroups.md +55 -0
- package/docs/server.hytopia.collisiongroupsbuilder.decoderawcollisiongroups.md +55 -0
- package/docs/server.hytopia.collisiongroupsbuilder.isdefaultcollisiongroups.md +55 -0
- package/docs/server.hytopia.collisiongroupsbuilder.md +101 -0
- package/docs/server.hytopia.commandcallback.md +15 -0
- package/docs/server.hytopia.decodedcollisiongroups.md +16 -0
- package/docs/server.hytopia.default_entity_rigid_body_options.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller._constructor_.md +65 -0
- package/docs/server.hytopia.defaultcharactercontroller.canjump.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.canrun.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.canwalk.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.createsensorcolliders.md +19 -0
- package/docs/server.hytopia.defaultcharactercontroller.isgrounded.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.isonplatform.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.jumpvelocity.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.md +333 -0
- package/docs/server.hytopia.defaultcharactercontroller.platform.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.runvelocity.md +13 -0
- package/docs/server.hytopia.defaultcharactercontroller.tickpathfindingmovement.md +69 -0
- package/docs/server.hytopia.defaultcharactercontroller.tickplayermovement.md +85 -0
- package/docs/server.hytopia.defaultcharactercontroller.walkvelocity.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.canjump.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.canrun.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.canwalk.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.jumpvelocity.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.md +152 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.runvelocity.md +13 -0
- package/docs/server.hytopia.defaultcharactercontrolleroptions.walkvelocity.md +13 -0
- package/docs/server.hytopia.entity._constructor_.md +49 -0
- package/docs/server.hytopia.entity.charactercontroller.md +13 -0
- package/docs/server.hytopia.entity.createcustomcharactercontroller.md +13 -0
- package/docs/server.hytopia.entity.despawn.md +17 -0
- package/docs/server.hytopia.entity.id.md +13 -0
- package/docs/server.hytopia.entity.isspawned.md +13 -0
- package/docs/server.hytopia.entity.md +529 -0
- package/docs/server.hytopia.entity.modelloopedanimations.md +13 -0
- package/docs/server.hytopia.entity.modelscale.md +13 -0
- package/docs/server.hytopia.entity.modeluri.md +13 -0
- package/docs/server.hytopia.entity.name.md +13 -0
- package/docs/server.hytopia.entity.onblockcollision.md +13 -0
- package/docs/server.hytopia.entity.onblockcontactforce.md +13 -0
- package/docs/server.hytopia.entity.ondespawn.md +13 -0
- package/docs/server.hytopia.entity.onentitycollision.md +13 -0
- package/docs/server.hytopia.entity.onentitycontactforce.md +13 -0
- package/docs/server.hytopia.entity.onspawn.md +13 -0
- package/docs/server.hytopia.entity.ontick.md +13 -0
- package/docs/server.hytopia.entity.setcharactercontroller.md +53 -0
- package/docs/server.hytopia.entity.spawn.md +69 -0
- package/docs/server.hytopia.entity.startmodelloopedanimations.md +53 -0
- package/docs/server.hytopia.entity.startmodeloneshotanimations.md +53 -0
- package/docs/server.hytopia.entity.stopmodelanimations.md +53 -0
- package/docs/server.hytopia.entity.world.md +13 -0
- package/docs/server.hytopia.entityeventpayload.despawn.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.despawn.md +53 -0
- package/docs/server.hytopia.entityeventpayload.md +91 -0
- package/docs/server.hytopia.entityeventpayload.spawn.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.spawn.md +53 -0
- package/docs/server.hytopia.entityeventpayload.startmodelloopedanimations.animations.md +11 -0
- package/docs/server.hytopia.entityeventpayload.startmodelloopedanimations.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.startmodelloopedanimations.md +70 -0
- package/docs/server.hytopia.entityeventpayload.startmodeloneshotanimations.animations.md +11 -0
- package/docs/server.hytopia.entityeventpayload.startmodeloneshotanimations.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.startmodeloneshotanimations.md +70 -0
- package/docs/server.hytopia.entityeventpayload.stopmodelanimations.animations.md +11 -0
- package/docs/server.hytopia.entityeventpayload.stopmodelanimations.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.stopmodelanimations.md +70 -0
- package/docs/server.hytopia.entityeventpayload.updaterotation.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.updaterotation.md +70 -0
- package/docs/server.hytopia.entityeventpayload.updaterotation.rotation.md +11 -0
- package/docs/server.hytopia.entityeventpayload.updatetranslation.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.updatetranslation.md +70 -0
- package/docs/server.hytopia.entityeventpayload.updatetranslation.translation.md +11 -0
- package/docs/server.hytopia.entityeventtype.md +131 -0
- package/docs/server.hytopia.entitymanager.getallentities.md +19 -0
- package/docs/server.hytopia.entitymanager.getallplayerentities.md +55 -0
- package/docs/server.hytopia.entitymanager.getentity.md +55 -0
- package/docs/server.hytopia.entitymanager.md +136 -0
- package/docs/server.hytopia.entitymanager.world.md +13 -0
- package/docs/server.hytopia.entityoptions.md +133 -0
- package/docs/server.hytopia.entityoptions.modelloopedanimations.md +13 -0
- package/docs/server.hytopia.entityoptions.modelscale.md +13 -0
- package/docs/server.hytopia.entityoptions.modeluri.md +13 -0
- package/docs/server.hytopia.entityoptions.name.md +13 -0
- package/docs/server.hytopia.entityoptions.rigidbodyoptions.md +13 -0
- package/docs/server.hytopia.event.md +76 -0
- package/docs/server.hytopia.event.payload.md +13 -0
- package/docs/server.hytopia.event.type.md +13 -0
- package/docs/server.hytopia.eventrouter._constructor_.md +49 -0
- package/docs/server.hytopia.eventrouter.emit.md +55 -0
- package/docs/server.hytopia.eventrouter.logallevents.md +13 -0
- package/docs/server.hytopia.eventrouter.logeventspayloads.md +13 -0
- package/docs/server.hytopia.eventrouter.logignoreeventprefixes.md +13 -0
- package/docs/server.hytopia.eventrouter.logignoreevents.md +13 -0
- package/docs/server.hytopia.eventrouter.logunlistenedevents.md +13 -0
- package/docs/server.hytopia.eventrouter.md +270 -0
- package/docs/server.hytopia.eventrouter.off.md +69 -0
- package/docs/server.hytopia.eventrouter.offall.md +53 -0
- package/docs/server.hytopia.eventrouter.on.md +73 -0
- package/docs/server.hytopia.eventrouter.serverinstance.md +13 -0
- package/docs/server.hytopia.gameserver.instance.md +13 -0
- package/docs/server.hytopia.gameserver.md +109 -0
- package/docs/server.hytopia.gameserver.playermanager.md +13 -0
- package/docs/server.hytopia.gameserver.worlds.md +15 -0
- package/docs/server.hytopia.gameservereventpayload.md +46 -0
- package/docs/server.hytopia.gameservereventpayload.start.md +53 -0
- package/docs/server.hytopia.gameservereventpayload.start.startedatms.md +11 -0
- package/docs/server.hytopia.gameservereventpayload.stop.md +53 -0
- package/docs/server.hytopia.gameservereventpayload.stop.stoppedatms.md +11 -0
- package/docs/server.hytopia.gameservereventtype.md +61 -0
- package/docs/server.hytopia.md +840 -0
- package/docs/server.hytopia.player.disconnect.md +17 -0
- package/docs/server.hytopia.player.id.md +13 -0
- package/docs/server.hytopia.player.inputstate.md +13 -0
- package/docs/server.hytopia.player.joinworld.md +57 -0
- package/docs/server.hytopia.player.leaveworld.md +17 -0
- package/docs/server.hytopia.player.md +211 -0
- package/docs/server.hytopia.player.orientationstate.md +13 -0
- package/docs/server.hytopia.player.username.md +13 -0
- package/docs/server.hytopia.player.world.md +13 -0
- package/docs/server.hytopia.playerentity._constructor_.md +49 -0
- package/docs/server.hytopia.playerentity.md +115 -0
- package/docs/server.hytopia.playerentity.player.md +13 -0
- package/docs/server.hytopia.playerentityoptions.md +58 -0
- package/docs/server.hytopia.playerentityoptions.player.md +13 -0
- package/docs/server.hytopia.playereventpayload.chatmessagesend.md +70 -0
- package/docs/server.hytopia.playereventpayload.chatmessagesend.message.md +11 -0
- package/docs/server.hytopia.playereventpayload.chatmessagesend.player.md +11 -0
- package/docs/server.hytopia.playereventpayload.joinedworld.md +70 -0
- package/docs/server.hytopia.playereventpayload.joinedworld.player.md +11 -0
- package/docs/server.hytopia.playereventpayload.joinedworld.world.md +11 -0
- package/docs/server.hytopia.playereventpayload.leftworld.md +70 -0
- package/docs/server.hytopia.playereventpayload.leftworld.player.md +11 -0
- package/docs/server.hytopia.playereventpayload.leftworld.world.md +11 -0
- package/docs/server.hytopia.playereventpayload.md +64 -0
- package/docs/server.hytopia.playereventpayload.requestsync.md +87 -0
- package/docs/server.hytopia.playereventpayload.requestsync.player.md +11 -0
- package/docs/server.hytopia.playereventpayload.requestsync.receivedat.md +11 -0
- package/docs/server.hytopia.playereventpayload.requestsync.receivedatms.md +11 -0
- package/docs/server.hytopia.playereventtype.md +89 -0
- package/docs/server.hytopia.playerinputstate.md +13 -0
- package/docs/server.hytopia.playermanager.getconnectedplayerbyusername.md +55 -0
- package/docs/server.hytopia.playermanager.getconnectedplayers.md +19 -0
- package/docs/server.hytopia.playermanager.instance.md +13 -0
- package/docs/server.hytopia.playermanager.md +125 -0
- package/docs/server.hytopia.playerorientationstate.md +16 -0
- package/docs/server.hytopia.rawcollisiongroups.md +13 -0
- package/docs/server.hytopia.rigidbody._constructor_.md +49 -0
- package/docs/server.hytopia.rigidbody.addchildcollidertosimulation.md +53 -0
- package/docs/server.hytopia.rigidbody.addforce.md +53 -0
- package/docs/server.hytopia.rigidbody.addtorque.md +53 -0
- package/docs/server.hytopia.rigidbody.addtosimulation.md +53 -0
- package/docs/server.hytopia.rigidbody.applyimpulse.md +53 -0
- package/docs/server.hytopia.rigidbody.applyimpulseatpoint.md +69 -0
- package/docs/server.hytopia.rigidbody.applytorqueimpulse.md +53 -0
- package/docs/server.hytopia.rigidbody.colliders.md +13 -0
- package/docs/server.hytopia.rigidbody.createandaddchildcolliderstosimulation.md +55 -0
- package/docs/server.hytopia.rigidbody.createandaddchildcollidertosimulation.md +55 -0
- package/docs/server.hytopia.rigidbody.getadditionalmass.md +19 -0
- package/docs/server.hytopia.rigidbody.getadditionalsolveriterations.md +19 -0
- package/docs/server.hytopia.rigidbody.getangulardamping.md +19 -0
- package/docs/server.hytopia.rigidbody.getangularvelocity.md +19 -0
- package/docs/server.hytopia.rigidbody.getcollidersbytag.md +55 -0
- package/docs/server.hytopia.rigidbody.getdirectionfromrotation.md +19 -0
- package/docs/server.hytopia.rigidbody.getdominancegroup.md +19 -0
- package/docs/server.hytopia.rigidbody.geteffectiveangularinertia.md +19 -0
- package/docs/server.hytopia.rigidbody.geteffectiveinversemass.md +19 -0
- package/docs/server.hytopia.rigidbody.geteffectiveworldinverseprincipalangularinertiasqrt.md +19 -0
- package/docs/server.hytopia.rigidbody.getenabledrotations.md +19 -0
- package/docs/server.hytopia.rigidbody.getenabledtranslations.md +19 -0
- package/docs/server.hytopia.rigidbody.getgravityscale.md +19 -0
- package/docs/server.hytopia.rigidbody.getinversemass.md +19 -0
- package/docs/server.hytopia.rigidbody.getinverseprincipalangularinertiasqrt.md +19 -0
- package/docs/server.hytopia.rigidbody.getlineardamping.md +19 -0
- package/docs/server.hytopia.rigidbody.getlinearvelocity.md +19 -0
- package/docs/server.hytopia.rigidbody.getlocalcenterofmass.md +19 -0
- package/docs/server.hytopia.rigidbody.getmass.md +19 -0
- package/docs/server.hytopia.rigidbody.getnextkinematicrotation.md +19 -0
- package/docs/server.hytopia.rigidbody.getnextkinematictranslation.md +19 -0
- package/docs/server.hytopia.rigidbody.getprincipalangularinertia.md +19 -0
- package/docs/server.hytopia.rigidbody.getprincipalangularinertialocalframe.md +19 -0
- package/docs/server.hytopia.rigidbody.getrotation.md +19 -0
- package/docs/server.hytopia.rigidbody.getsoftccdprediction.md +19 -0
- package/docs/server.hytopia.rigidbody.gettranslation.md +19 -0
- package/docs/server.hytopia.rigidbody.gettype.md +19 -0
- package/docs/server.hytopia.rigidbody.getworldcenterofmass.md +19 -0
- package/docs/server.hytopia.rigidbody.isccdenabled.md +13 -0
- package/docs/server.hytopia.rigidbody.isdynamic.md +13 -0
- package/docs/server.hytopia.rigidbody.isenabled.md +13 -0
- package/docs/server.hytopia.rigidbody.isfixed.md +13 -0
- package/docs/server.hytopia.rigidbody.iskinematic.md +13 -0
- package/docs/server.hytopia.rigidbody.iskinematicpositionbased.md +13 -0
- package/docs/server.hytopia.rigidbody.iskinematicvelocitybased.md +13 -0
- package/docs/server.hytopia.rigidbody.ismoving.md +13 -0
- package/docs/server.hytopia.rigidbody.isremoved.md +13 -0
- package/docs/server.hytopia.rigidbody.issimulated.md +13 -0
- package/docs/server.hytopia.rigidbody.issleeping.md +13 -0
- package/docs/server.hytopia.rigidbody.lockallrotations.md +17 -0
- package/docs/server.hytopia.rigidbody.lockalltranslations.md +17 -0
- package/docs/server.hytopia.rigidbody.md +1307 -0
- package/docs/server.hytopia.rigidbody.numcolliders.md +13 -0
- package/docs/server.hytopia.rigidbody.rawrigidbody.md +13 -0
- package/docs/server.hytopia.rigidbody.removefromsimulation.md +17 -0
- package/docs/server.hytopia.rigidbody.setadditionalmass.md +53 -0
- package/docs/server.hytopia.rigidbody.setadditionalmassproperties.md +53 -0
- package/docs/server.hytopia.rigidbody.setadditionalsolveriterations.md +53 -0
- package/docs/server.hytopia.rigidbody.setangulardamping.md +53 -0
- package/docs/server.hytopia.rigidbody.setangularvelocity.md +53 -0
- package/docs/server.hytopia.rigidbody.setccdenabled.md +53 -0
- package/docs/server.hytopia.rigidbody.setcollisiongroupsforsolidcolliders.md +53 -0
- package/docs/server.hytopia.rigidbody.setdominancegroup.md +53 -0
- package/docs/server.hytopia.rigidbody.setenabled.md +53 -0
- package/docs/server.hytopia.rigidbody.setenabledrotations.md +53 -0
- package/docs/server.hytopia.rigidbody.setenabledtranslations.md +53 -0
- package/docs/server.hytopia.rigidbody.setgravityscale.md +53 -0
- package/docs/server.hytopia.rigidbody.setlineardamping.md +53 -0
- package/docs/server.hytopia.rigidbody.setlinearvelocity.md +53 -0
- package/docs/server.hytopia.rigidbody.setnextkinematicrotation.md +53 -0
- package/docs/server.hytopia.rigidbody.setnextkinematictranslation.md +53 -0
- package/docs/server.hytopia.rigidbody.setrotation.md +53 -0
- package/docs/server.hytopia.rigidbody.setsleeping.md +53 -0
- package/docs/server.hytopia.rigidbody.setsoftccdprediction.md +53 -0
- package/docs/server.hytopia.rigidbody.settag.md +53 -0
- package/docs/server.hytopia.rigidbody.settranslation.md +53 -0
- package/docs/server.hytopia.rigidbody.settype.md +53 -0
- package/docs/server.hytopia.rigidbody.sleep.md +17 -0
- package/docs/server.hytopia.rigidbody.tag.md +13 -0
- package/docs/server.hytopia.rigidbody.wakeup.md +17 -0
- package/docs/server.hytopia.rigidbodyadditionalmassproperties.md +20 -0
- package/docs/server.hytopia.rigidbodyoptions.additionalmass.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.additionalmassproperties.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.additionalsolveriterations.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.angulardamping.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.angularvelocity.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.ccdenabled.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.colliders.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.dominancegroup.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.enabled.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.enabledrotations.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.enabledtranslations.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.gravityscale.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.lineardamping.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.linearvelocity.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.md +437 -0
- package/docs/server.hytopia.rigidbodyoptions.rotation.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.simulation.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.sleeping.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.softccdprediction.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.tag.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.translation.md +13 -0
- package/docs/server.hytopia.rigidbodyoptions.type.md +13 -0
- package/docs/server.hytopia.rigidbodytype.md +89 -0
- package/docs/server.hytopia.rotation.md +106 -0
- package/docs/server.hytopia.rotation.w.md +11 -0
- package/docs/server.hytopia.rotation.x.md +11 -0
- package/docs/server.hytopia.rotation.y.md +11 -0
- package/docs/server.hytopia.rotation.z.md +11 -0
- package/docs/server.hytopia.simulation.castray.md +103 -0
- package/docs/server.hytopia.simulation.gravity.md +13 -0
- package/docs/server.hytopia.simulation.md +141 -0
- package/docs/server.hytopia.simulation.timesteps.md +13 -0
- package/docs/server.hytopia.simulation.world.md +13 -0
- package/docs/server.hytopia.spdmatrix3.md +15 -0
- package/docs/server.hytopia.startserver.md +57 -0
- package/docs/server.hytopia.supported_input_keys.md +13 -0
- package/docs/server.hytopia.vector3.md +89 -0
- package/docs/server.hytopia.vector3.x.md +11 -0
- package/docs/server.hytopia.vector3.y.md +11 -0
- package/docs/server.hytopia.vector3.z.md +11 -0
- package/docs/server.hytopia.vector3boolean.md +89 -0
- package/docs/server.hytopia.vector3boolean.x.md +11 -0
- package/docs/server.hytopia.vector3boolean.y.md +11 -0
- package/docs/server.hytopia.vector3boolean.z.md +11 -0
- package/docs/server.hytopia.world._constructor_.md +49 -0
- package/docs/server.hytopia.world.audiomanager.md +13 -0
- package/docs/server.hytopia.world.blocktyperegistry.md +13 -0
- package/docs/server.hytopia.world.chatmanager.md +13 -0
- package/docs/server.hytopia.world.chunklattice.md +13 -0
- package/docs/server.hytopia.world.entitymanager.md +13 -0
- package/docs/server.hytopia.world.eventrouter.md +13 -0
- package/docs/server.hytopia.world.id.md +13 -0
- package/docs/server.hytopia.world.loadmap.md +53 -0
- package/docs/server.hytopia.world.loop.md +13 -0
- package/docs/server.hytopia.world.md +419 -0
- package/docs/server.hytopia.world.name.md +13 -0
- package/docs/server.hytopia.world.onplayerjoin.md +13 -0
- package/docs/server.hytopia.world.onplayerleave.md +13 -0
- package/docs/server.hytopia.world.simulation.md +13 -0
- package/docs/server.hytopia.world.skyboxuri.md +13 -0
- package/docs/server.hytopia.world.start.md +17 -0
- package/docs/server.hytopia.world.stop.md +17 -0
- package/docs/server.hytopia.worldloop.currenttick.md +13 -0
- package/docs/server.hytopia.worldloop.md +140 -0
- package/docs/server.hytopia.worldloop.nexttickms.md +13 -0
- package/docs/server.hytopia.worldloop.timesteps.md +13 -0
- package/docs/server.hytopia.worldloop.world.md +13 -0
- package/docs/server.hytopia.worldmap.blocks.md +15 -0
- package/docs/server.hytopia.worldmap.blocktypes.md +17 -0
- package/docs/server.hytopia.worldmap.md +76 -0
- package/docs/server.hytopia.worldoptions.gravity.md +13 -0
- package/docs/server.hytopia.worldoptions.id.md +13 -0
- package/docs/server.hytopia.worldoptions.md +133 -0
- package/docs/server.hytopia.worldoptions.name.md +13 -0
- package/docs/server.hytopia.worldoptions.skyboxuri.md +13 -0
- package/docs/server.hytopia.worldoptions.tickrate.md +13 -0
- package/docs/server.md +849 -0
- package/docs/server.player.disconnect.md +17 -0
- package/docs/server.player.id.md +13 -0
- package/docs/server.player.inputstate.md +13 -0
- package/docs/server.player.joinworld.md +57 -0
- package/docs/server.player.leaveworld.md +17 -0
- package/docs/server.player.md +211 -0
- package/docs/server.player.orientationstate.md +13 -0
- package/docs/server.player.username.md +13 -0
- package/docs/server.player.world.md +13 -0
- package/docs/server.playerentity._constructor_.md +49 -0
- package/docs/server.playerentity.md +115 -0
- package/docs/server.playerentity.player.md +13 -0
- package/docs/server.playerentityoptions.md +58 -0
- package/docs/server.playerentityoptions.player.md +13 -0
- package/docs/server.playereventpayload.chatmessagesend.md +70 -0
- package/docs/server.playereventpayload.chatmessagesend.message.md +11 -0
- package/docs/server.playereventpayload.chatmessagesend.player.md +11 -0
- package/docs/server.playereventpayload.joinedworld.md +70 -0
- package/docs/server.playereventpayload.joinedworld.player.md +11 -0
- package/docs/server.playereventpayload.joinedworld.world.md +11 -0
- package/docs/server.playereventpayload.leftworld.md +70 -0
- package/docs/server.playereventpayload.leftworld.player.md +11 -0
- package/docs/server.playereventpayload.leftworld.world.md +11 -0
- package/docs/server.playereventpayload.md +64 -0
- package/docs/server.playereventpayload.requestsync.md +87 -0
- package/docs/server.playereventpayload.requestsync.player.md +11 -0
- package/docs/server.playereventpayload.requestsync.receivedat.md +11 -0
- package/docs/server.playereventpayload.requestsync.receivedatms.md +11 -0
- package/docs/server.playereventtype.md +89 -0
- package/docs/server.playerinputstate.md +13 -0
- package/docs/server.playermanager.getconnectedplayerbyusername.md +55 -0
- package/docs/server.playermanager.getconnectedplayers.md +19 -0
- package/docs/server.playermanager.instance.md +13 -0
- package/docs/server.playermanager.md +125 -0
- package/docs/server.playerorientationstate.md +16 -0
- package/docs/server.rawcollisiongroups.md +13 -0
- package/docs/server.rigidbody._constructor_.md +49 -0
- package/docs/server.rigidbody.addchildcollidertosimulation.md +53 -0
- package/docs/server.rigidbody.addforce.md +53 -0
- package/docs/server.rigidbody.addtorque.md +53 -0
- package/docs/server.rigidbody.addtosimulation.md +53 -0
- package/docs/server.rigidbody.applyimpulse.md +53 -0
- package/docs/server.rigidbody.applyimpulseatpoint.md +69 -0
- package/docs/server.rigidbody.applytorqueimpulse.md +53 -0
- package/docs/server.rigidbody.colliders.md +13 -0
- package/docs/server.rigidbody.createandaddchildcolliderstosimulation.md +55 -0
- package/docs/server.rigidbody.createandaddchildcollidertosimulation.md +55 -0
- package/docs/server.rigidbody.getadditionalmass.md +19 -0
- package/docs/server.rigidbody.getadditionalsolveriterations.md +19 -0
- package/docs/server.rigidbody.getangulardamping.md +19 -0
- package/docs/server.rigidbody.getangularvelocity.md +19 -0
- package/docs/server.rigidbody.getcollidersbytag.md +55 -0
- package/docs/server.rigidbody.getdirectionfromrotation.md +19 -0
- package/docs/server.rigidbody.getdominancegroup.md +19 -0
- package/docs/server.rigidbody.geteffectiveangularinertia.md +19 -0
- package/docs/server.rigidbody.geteffectiveinversemass.md +19 -0
- package/docs/server.rigidbody.geteffectiveworldinverseprincipalangularinertiasqrt.md +19 -0
- package/docs/server.rigidbody.getenabledrotations.md +19 -0
- package/docs/server.rigidbody.getenabledtranslations.md +19 -0
- package/docs/server.rigidbody.getgravityscale.md +19 -0
- package/docs/server.rigidbody.getinversemass.md +19 -0
- package/docs/server.rigidbody.getinverseprincipalangularinertiasqrt.md +19 -0
- package/docs/server.rigidbody.getlineardamping.md +19 -0
- package/docs/server.rigidbody.getlinearvelocity.md +19 -0
- package/docs/server.rigidbody.getlocalcenterofmass.md +19 -0
- package/docs/server.rigidbody.getmass.md +19 -0
- package/docs/server.rigidbody.getnextkinematicrotation.md +19 -0
- package/docs/server.rigidbody.getnextkinematictranslation.md +19 -0
- package/docs/server.rigidbody.getprincipalangularinertia.md +19 -0
- package/docs/server.rigidbody.getprincipalangularinertialocalframe.md +19 -0
- package/docs/server.rigidbody.getrotation.md +19 -0
- package/docs/server.rigidbody.getsoftccdprediction.md +19 -0
- package/docs/server.rigidbody.gettranslation.md +19 -0
- package/docs/server.rigidbody.gettype.md +19 -0
- package/docs/server.rigidbody.getworldcenterofmass.md +19 -0
- package/docs/server.rigidbody.isccdenabled.md +13 -0
- package/docs/server.rigidbody.isdynamic.md +13 -0
- package/docs/server.rigidbody.isenabled.md +13 -0
- package/docs/server.rigidbody.isfixed.md +13 -0
- package/docs/server.rigidbody.iskinematic.md +13 -0
- package/docs/server.rigidbody.iskinematicpositionbased.md +13 -0
- package/docs/server.rigidbody.iskinematicvelocitybased.md +13 -0
- package/docs/server.rigidbody.ismoving.md +13 -0
- package/docs/server.rigidbody.isremoved.md +13 -0
- package/docs/server.rigidbody.issimulated.md +13 -0
- package/docs/server.rigidbody.issleeping.md +13 -0
- package/docs/server.rigidbody.lockallrotations.md +17 -0
- package/docs/server.rigidbody.lockalltranslations.md +17 -0
- package/docs/server.rigidbody.md +1307 -0
- package/docs/server.rigidbody.numcolliders.md +13 -0
- package/docs/server.rigidbody.rawrigidbody.md +13 -0
- package/docs/server.rigidbody.removefromsimulation.md +17 -0
- package/docs/server.rigidbody.setadditionalmass.md +53 -0
- package/docs/server.rigidbody.setadditionalmassproperties.md +53 -0
- package/docs/server.rigidbody.setadditionalsolveriterations.md +53 -0
- package/docs/server.rigidbody.setangulardamping.md +53 -0
- package/docs/server.rigidbody.setangularvelocity.md +53 -0
- package/docs/server.rigidbody.setccdenabled.md +53 -0
- package/docs/server.rigidbody.setcollisiongroupsforsolidcolliders.md +53 -0
- package/docs/server.rigidbody.setdominancegroup.md +53 -0
- package/docs/server.rigidbody.setenabled.md +53 -0
- package/docs/server.rigidbody.setenabledrotations.md +53 -0
- package/docs/server.rigidbody.setenabledtranslations.md +53 -0
- package/docs/server.rigidbody.setgravityscale.md +53 -0
- package/docs/server.rigidbody.setlineardamping.md +53 -0
- package/docs/server.rigidbody.setlinearvelocity.md +53 -0
- package/docs/server.rigidbody.setnextkinematicrotation.md +53 -0
- package/docs/server.rigidbody.setnextkinematictranslation.md +53 -0
- package/docs/server.rigidbody.setrotation.md +53 -0
- package/docs/server.rigidbody.setsleeping.md +53 -0
- package/docs/server.rigidbody.setsoftccdprediction.md +53 -0
- package/docs/server.rigidbody.settag.md +53 -0
- package/docs/server.rigidbody.settranslation.md +53 -0
- package/docs/server.rigidbody.settype.md +53 -0
- package/docs/server.rigidbody.sleep.md +17 -0
- package/docs/server.rigidbody.tag.md +13 -0
- package/docs/server.rigidbody.wakeup.md +17 -0
- package/docs/server.rigidbodyadditionalmassproperties.md +20 -0
- package/docs/server.rigidbodyoptions.additionalmass.md +13 -0
- package/docs/server.rigidbodyoptions.additionalmassproperties.md +13 -0
- package/docs/server.rigidbodyoptions.additionalsolveriterations.md +13 -0
- package/docs/server.rigidbodyoptions.angulardamping.md +13 -0
- package/docs/server.rigidbodyoptions.angularvelocity.md +13 -0
- package/docs/server.rigidbodyoptions.ccdenabled.md +13 -0
- package/docs/server.rigidbodyoptions.colliders.md +13 -0
- package/docs/server.rigidbodyoptions.dominancegroup.md +13 -0
- package/docs/server.rigidbodyoptions.enabled.md +13 -0
- package/docs/server.rigidbodyoptions.enabledrotations.md +13 -0
- package/docs/server.rigidbodyoptions.enabledtranslations.md +13 -0
- package/docs/server.rigidbodyoptions.gravityscale.md +13 -0
- package/docs/server.rigidbodyoptions.lineardamping.md +13 -0
- package/docs/server.rigidbodyoptions.linearvelocity.md +13 -0
- package/docs/server.rigidbodyoptions.md +437 -0
- package/docs/server.rigidbodyoptions.rotation.md +13 -0
- package/docs/server.rigidbodyoptions.simulation.md +13 -0
- package/docs/server.rigidbodyoptions.sleeping.md +13 -0
- package/docs/server.rigidbodyoptions.softccdprediction.md +13 -0
- package/docs/server.rigidbodyoptions.tag.md +13 -0
- package/docs/server.rigidbodyoptions.translation.md +13 -0
- package/docs/server.rigidbodyoptions.type.md +13 -0
- package/docs/server.rigidbodytype.md +89 -0
- package/docs/server.rotation.md +106 -0
- package/docs/server.rotation.w.md +11 -0
- package/docs/server.rotation.x.md +11 -0
- package/docs/server.rotation.y.md +11 -0
- package/docs/server.rotation.z.md +11 -0
- package/docs/server.simulation.castray.md +103 -0
- package/docs/server.simulation.gravity.md +13 -0
- package/docs/server.simulation.md +141 -0
- package/docs/server.simulation.timesteps.md +13 -0
- package/docs/server.simulation.world.md +13 -0
- package/docs/server.spdmatrix3.md +15 -0
- package/docs/server.startserver.md +57 -0
- package/docs/server.supported_input_keys.md +13 -0
- package/docs/server.vector3.md +89 -0
- package/docs/server.vector3.x.md +11 -0
- package/docs/server.vector3.y.md +11 -0
- package/docs/server.vector3.z.md +11 -0
- package/docs/server.vector3boolean.md +89 -0
- package/docs/server.vector3boolean.x.md +11 -0
- package/docs/server.vector3boolean.y.md +11 -0
- package/docs/server.vector3boolean.z.md +11 -0
- package/docs/server.world._constructor_.md +49 -0
- package/docs/server.world.audiomanager.md +13 -0
- package/docs/server.world.blocktyperegistry.md +13 -0
- package/docs/server.world.chatmanager.md +13 -0
- package/docs/server.world.chunklattice.md +13 -0
- package/docs/server.world.entitymanager.md +13 -0
- package/docs/server.world.eventrouter.md +13 -0
- package/docs/server.world.id.md +13 -0
- package/docs/server.world.loadmap.md +53 -0
- package/docs/server.world.loop.md +13 -0
- package/docs/server.world.md +419 -0
- package/docs/server.world.name.md +13 -0
- package/docs/server.world.onplayerjoin.md +13 -0
- package/docs/server.world.onplayerleave.md +13 -0
- package/docs/server.world.simulation.md +13 -0
- package/docs/server.world.skyboxuri.md +13 -0
- package/docs/server.world.start.md +17 -0
- package/docs/server.world.stop.md +17 -0
- package/docs/server.worldloop.currenttick.md +13 -0
- package/docs/server.worldloop.md +140 -0
- package/docs/server.worldloop.nexttickms.md +13 -0
- package/docs/server.worldloop.timesteps.md +13 -0
- package/docs/server.worldloop.world.md +13 -0
- package/docs/server.worldmap.blocks.md +15 -0
- package/docs/server.worldmap.blocktypes.md +17 -0
- package/docs/server.worldmap.md +76 -0
- package/docs/server.worldoptions.gravity.md +13 -0
- package/docs/server.worldoptions.id.md +13 -0
- package/docs/server.worldoptions.md +133 -0
- package/docs/server.worldoptions.name.md +13 -0
- package/docs/server.worldoptions.skyboxuri.md +13 -0
- package/docs/server.worldoptions.tickrate.md +13 -0
- package/examples/payload-game/assets/audio/music/game.mp3 +0 -0
- package/examples/payload-game/assets/audio/sfx/damage.wav +0 -0
- package/examples/payload-game/assets/audio/sfx/payload-idle.mp3 +0 -0
- package/examples/payload-game/assets/audio/sfx/shoot.mp3 +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/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/assets/world.json → payload-game/assets/map.json} +1 -1
- package/examples/payload-game/assets/models/bullet.gltf +1 -0
- package/examples/payload-game/assets/models/payload.gltf +1 -0
- package/examples/payload-game/assets/models/player-with-gun.gltf +1 -0
- package/examples/payload-game/assets/models/spider.gltf +1 -0
- 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/examples/payload-game/index.ts +579 -0
- package/package.json +1 -1
- package/server.api.json +36139 -0
- package/server.d.ts +1765 -360
- package/server.js +60 -60
- package/tsconfig.json +21 -0
- package/docs/assets/banner.png +0 -0
- package/examples/payload/index.ts +0 -0
- package/examples/zombies/index.ts +0 -0
- /package/{assets → boilerplate/assets}/audio/music/cave.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/desert.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/end.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/jungle.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/nether.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/night.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/night2.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/overworld.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/music/snow.mp3 +0 -0
- /package/{assets → boilerplate/assets}/audio/sfx/damage.wav +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/+x.png +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/+y.png +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/+z.png +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/-x.png +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/-y.png +0 -0
- /package/{assets → boilerplate/assets}/cubemaps/skybox/-z.png +0 -0
- /package/{assets → boilerplate/assets}/models/player.gltf +0 -0
- /package/{assets → boilerplate/assets}/models/spider.gltf +0 -0
- /package/{assets → boilerplate/assets}/models/zombie.gltf +0 -0
- /package/{assets → boilerplate/assets}/textures/bricks.png +0 -0
- /package/{assets → boilerplate/assets}/textures/clay.png +0 -0
- /package/{assets → boilerplate/assets}/textures/diamond_ore.png +0 -0
- /package/{assets → boilerplate/assets}/textures/dirt.png +0 -0
- /package/{assets → boilerplate/assets}/textures/dragons_stone.png +0 -0
- /package/{assets → boilerplate/assets}/textures/glass.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/+x.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/+y.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/+z.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/-x.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/-y.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass/-z.png +0 -0
- /package/{assets → boilerplate/assets}/textures/grass.png +0 -0
- /package/{assets → boilerplate/assets}/textures/gravel.png +0 -0
- /package/{assets → boilerplate/assets}/textures/ice.png +0 -0
- /package/{assets → boilerplate/assets}/textures/infected_shadowrock.png +0 -0
- /package/{assets → boilerplate/assets}/textures/log_side.png +0 -0
- /package/{assets → boilerplate/assets}/textures/log_top.png +0 -0
- /package/{assets → boilerplate/assets}/textures/mossy_coblestone.png +0 -0
- /package/{assets → boilerplate/assets}/textures/nuit.png +0 -0
- /package/{assets → boilerplate/assets}/textures/oak_leaves.png +0 -0
- /package/{assets → boilerplate/assets}/textures/oak_planks.png +0 -0
- /package/{assets → boilerplate/assets}/textures/sand.png +0 -0
- /package/{assets → boilerplate/assets}/textures/shadowrock.png +0 -0
- /package/{assets → boilerplate/assets}/textures/stone.png +0 -0
- /package/{assets → boilerplate/assets}/textures/stone_bricks.png +0 -0
- /package/{assets → boilerplate/assets}/textures/void_sand.png +0 -0
- /package/{assets → boilerplate/assets}/textures/water_still.png +0 -0
@@ -0,0 +1,361 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md)
|
4
|
+
|
5
|
+
## ColliderOptions interface
|
6
|
+
|
7
|
+
Options for creating a Collider instance.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export interface ColliderOptions
|
13
|
+
```
|
14
|
+
|
15
|
+
## Properties
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Property
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Modifiers
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Type
|
30
|
+
|
31
|
+
|
32
|
+
</th><th>
|
33
|
+
|
34
|
+
Description
|
35
|
+
|
36
|
+
|
37
|
+
</th></tr></thead>
|
38
|
+
<tbody><tr><td>
|
39
|
+
|
40
|
+
[borderRadius?](./server.collideroptions.borderradius.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td><td>
|
47
|
+
|
48
|
+
number
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
_(Optional)_ The border radius of the collider if the shape is a round cylinder.
|
54
|
+
|
55
|
+
|
56
|
+
</td></tr>
|
57
|
+
<tr><td>
|
58
|
+
|
59
|
+
[bounciness?](./server.collideroptions.bounciness.md)
|
60
|
+
|
61
|
+
|
62
|
+
</td><td>
|
63
|
+
|
64
|
+
|
65
|
+
</td><td>
|
66
|
+
|
67
|
+
number
|
68
|
+
|
69
|
+
|
70
|
+
</td><td>
|
71
|
+
|
72
|
+
_(Optional)_ The bounciness of the collider.
|
73
|
+
|
74
|
+
|
75
|
+
</td></tr>
|
76
|
+
<tr><td>
|
77
|
+
|
78
|
+
[collisionGroups?](./server.collideroptions.collisiongroups.md)
|
79
|
+
|
80
|
+
|
81
|
+
</td><td>
|
82
|
+
|
83
|
+
|
84
|
+
</td><td>
|
85
|
+
|
86
|
+
[CollisionGroups](./server.collisiongroups.md)
|
87
|
+
|
88
|
+
|
89
|
+
</td><td>
|
90
|
+
|
91
|
+
_(Optional)_ The collision groups the collider belongs to.
|
92
|
+
|
93
|
+
|
94
|
+
</td></tr>
|
95
|
+
<tr><td>
|
96
|
+
|
97
|
+
[enabled?](./server.collideroptions.enabled.md)
|
98
|
+
|
99
|
+
|
100
|
+
</td><td>
|
101
|
+
|
102
|
+
|
103
|
+
</td><td>
|
104
|
+
|
105
|
+
boolean
|
106
|
+
|
107
|
+
|
108
|
+
</td><td>
|
109
|
+
|
110
|
+
_(Optional)_ Whether the collider is enabled.
|
111
|
+
|
112
|
+
|
113
|
+
</td></tr>
|
114
|
+
<tr><td>
|
115
|
+
|
116
|
+
[friction?](./server.collideroptions.friction.md)
|
117
|
+
|
118
|
+
|
119
|
+
</td><td>
|
120
|
+
|
121
|
+
|
122
|
+
</td><td>
|
123
|
+
|
124
|
+
number
|
125
|
+
|
126
|
+
|
127
|
+
</td><td>
|
128
|
+
|
129
|
+
_(Optional)_ The friction of the collider.
|
130
|
+
|
131
|
+
|
132
|
+
</td></tr>
|
133
|
+
<tr><td>
|
134
|
+
|
135
|
+
[halfExtents?](./server.collideroptions.halfextents.md)
|
136
|
+
|
137
|
+
|
138
|
+
</td><td>
|
139
|
+
|
140
|
+
|
141
|
+
</td><td>
|
142
|
+
|
143
|
+
[Vector3](./server.vector3.md)
|
144
|
+
|
145
|
+
|
146
|
+
</td><td>
|
147
|
+
|
148
|
+
_(Optional)_ The half extents of the collider if the shape is a block.
|
149
|
+
|
150
|
+
|
151
|
+
</td></tr>
|
152
|
+
<tr><td>
|
153
|
+
|
154
|
+
[halfHeight?](./server.collideroptions.halfheight.md)
|
155
|
+
|
156
|
+
|
157
|
+
</td><td>
|
158
|
+
|
159
|
+
|
160
|
+
</td><td>
|
161
|
+
|
162
|
+
number
|
163
|
+
|
164
|
+
|
165
|
+
</td><td>
|
166
|
+
|
167
|
+
_(Optional)_ The half height of the collider if the shape is a capsule, cone, cylinder, or round cylinder.
|
168
|
+
|
169
|
+
|
170
|
+
</td></tr>
|
171
|
+
<tr><td>
|
172
|
+
|
173
|
+
[isSensor?](./server.collideroptions.issensor.md)
|
174
|
+
|
175
|
+
|
176
|
+
</td><td>
|
177
|
+
|
178
|
+
|
179
|
+
</td><td>
|
180
|
+
|
181
|
+
boolean
|
182
|
+
|
183
|
+
|
184
|
+
</td><td>
|
185
|
+
|
186
|
+
_(Optional)_ Whether the collider is a sensor.
|
187
|
+
|
188
|
+
|
189
|
+
</td></tr>
|
190
|
+
<tr><td>
|
191
|
+
|
192
|
+
[mass?](./server.collideroptions.mass.md)
|
193
|
+
|
194
|
+
|
195
|
+
</td><td>
|
196
|
+
|
197
|
+
|
198
|
+
</td><td>
|
199
|
+
|
200
|
+
number
|
201
|
+
|
202
|
+
|
203
|
+
</td><td>
|
204
|
+
|
205
|
+
_(Optional)_ The mass of the collider.
|
206
|
+
|
207
|
+
|
208
|
+
</td></tr>
|
209
|
+
<tr><td>
|
210
|
+
|
211
|
+
[onCollision?](./server.collideroptions.oncollision.md)
|
212
|
+
|
213
|
+
|
214
|
+
</td><td>
|
215
|
+
|
216
|
+
|
217
|
+
</td><td>
|
218
|
+
|
219
|
+
[CollisionCallback](./server.collisioncallback.md)
|
220
|
+
|
221
|
+
|
222
|
+
</td><td>
|
223
|
+
|
224
|
+
_(Optional)_ The on collision callback for the collider.
|
225
|
+
|
226
|
+
|
227
|
+
</td></tr>
|
228
|
+
<tr><td>
|
229
|
+
|
230
|
+
[parentRigidBody?](./server.collideroptions.parentrigidbody.md)
|
231
|
+
|
232
|
+
|
233
|
+
</td><td>
|
234
|
+
|
235
|
+
|
236
|
+
</td><td>
|
237
|
+
|
238
|
+
[RigidBody](./server.rigidbody.md)
|
239
|
+
|
240
|
+
|
241
|
+
</td><td>
|
242
|
+
|
243
|
+
_(Optional)_ The parent rigid body of the collider.
|
244
|
+
|
245
|
+
|
246
|
+
</td></tr>
|
247
|
+
<tr><td>
|
248
|
+
|
249
|
+
[radius?](./server.collideroptions.radius.md)
|
250
|
+
|
251
|
+
|
252
|
+
</td><td>
|
253
|
+
|
254
|
+
|
255
|
+
</td><td>
|
256
|
+
|
257
|
+
number
|
258
|
+
|
259
|
+
|
260
|
+
</td><td>
|
261
|
+
|
262
|
+
_(Optional)_ The radius of the collider if the shape is a ball, capsule, cone, cylinder, or round cylinder.
|
263
|
+
|
264
|
+
|
265
|
+
</td></tr>
|
266
|
+
<tr><td>
|
267
|
+
|
268
|
+
[relativeRotation?](./server.collideroptions.relativerotation.md)
|
269
|
+
|
270
|
+
|
271
|
+
</td><td>
|
272
|
+
|
273
|
+
|
274
|
+
</td><td>
|
275
|
+
|
276
|
+
[Rotation](./server.rotation.md)
|
277
|
+
|
278
|
+
|
279
|
+
</td><td>
|
280
|
+
|
281
|
+
_(Optional)_ The relative rotation of the collider. Relative to parent rigid body.
|
282
|
+
|
283
|
+
|
284
|
+
</td></tr>
|
285
|
+
<tr><td>
|
286
|
+
|
287
|
+
[relativeTranslation?](./server.collideroptions.relativetranslation.md)
|
288
|
+
|
289
|
+
|
290
|
+
</td><td>
|
291
|
+
|
292
|
+
|
293
|
+
</td><td>
|
294
|
+
|
295
|
+
[Vector3](./server.vector3.md)
|
296
|
+
|
297
|
+
|
298
|
+
</td><td>
|
299
|
+
|
300
|
+
_(Optional)_ The relative translation of the collider. Relative to parent rigid body.
|
301
|
+
|
302
|
+
|
303
|
+
</td></tr>
|
304
|
+
<tr><td>
|
305
|
+
|
306
|
+
[shape](./server.collideroptions.shape.md)
|
307
|
+
|
308
|
+
|
309
|
+
</td><td>
|
310
|
+
|
311
|
+
|
312
|
+
</td><td>
|
313
|
+
|
314
|
+
[ColliderShape](./server.collidershape.md)
|
315
|
+
|
316
|
+
|
317
|
+
</td><td>
|
318
|
+
|
319
|
+
The shape of the collider.
|
320
|
+
|
321
|
+
|
322
|
+
</td></tr>
|
323
|
+
<tr><td>
|
324
|
+
|
325
|
+
[simulation?](./server.collideroptions.simulation.md)
|
326
|
+
|
327
|
+
|
328
|
+
</td><td>
|
329
|
+
|
330
|
+
|
331
|
+
</td><td>
|
332
|
+
|
333
|
+
[Simulation](./server.simulation.md)
|
334
|
+
|
335
|
+
|
336
|
+
</td><td>
|
337
|
+
|
338
|
+
_(Optional)_ The simulation the collider is in, if provided the collider will automatically be added to the simulation.
|
339
|
+
|
340
|
+
|
341
|
+
</td></tr>
|
342
|
+
<tr><td>
|
343
|
+
|
344
|
+
[tag?](./server.collideroptions.tag.md)
|
345
|
+
|
346
|
+
|
347
|
+
</td><td>
|
348
|
+
|
349
|
+
|
350
|
+
</td><td>
|
351
|
+
|
352
|
+
string
|
353
|
+
|
354
|
+
|
355
|
+
</td><td>
|
356
|
+
|
357
|
+
_(Optional)_ An arbitrary identifier tag of the collider. Useful for your own logic.
|
358
|
+
|
359
|
+
|
360
|
+
</td></tr>
|
361
|
+
</tbody></table>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [onCollision](./server.collideroptions.oncollision.md)
|
4
|
+
|
5
|
+
## ColliderOptions.onCollision property
|
6
|
+
|
7
|
+
The on collision callback for the collider.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
onCollision?: CollisionCallback;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [parentRigidBody](./server.collideroptions.parentrigidbody.md)
|
4
|
+
|
5
|
+
## ColliderOptions.parentRigidBody property
|
6
|
+
|
7
|
+
The parent rigid body of the collider.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
parentRigidBody?: RigidBody;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [radius](./server.collideroptions.radius.md)
|
4
|
+
|
5
|
+
## ColliderOptions.radius property
|
6
|
+
|
7
|
+
The radius of the collider if the shape is a ball, capsule, cone, cylinder, or round cylinder.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
radius?: number;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [relativeRotation](./server.collideroptions.relativerotation.md)
|
4
|
+
|
5
|
+
## ColliderOptions.relativeRotation property
|
6
|
+
|
7
|
+
The relative rotation of the collider. Relative to parent rigid body.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
relativeRotation?: Rotation;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [relativeTranslation](./server.collideroptions.relativetranslation.md)
|
4
|
+
|
5
|
+
## ColliderOptions.relativeTranslation property
|
6
|
+
|
7
|
+
The relative translation of the collider. Relative to parent rigid body.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
relativeTranslation?: Vector3;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [shape](./server.collideroptions.shape.md)
|
4
|
+
|
5
|
+
## ColliderOptions.shape property
|
6
|
+
|
7
|
+
The shape of the collider.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
shape: ColliderShape;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [simulation](./server.collideroptions.simulation.md)
|
4
|
+
|
5
|
+
## ColliderOptions.simulation property
|
6
|
+
|
7
|
+
The simulation the collider is in, if provided the collider will automatically be added to the simulation.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
simulation?: Simulation;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderOptions](./server.collideroptions.md) > [tag](./server.collideroptions.tag.md)
|
4
|
+
|
5
|
+
## ColliderOptions.tag property
|
6
|
+
|
7
|
+
An arbitrary identifier tag of the collider. Useful for your own logic.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
tag?: string;
|
13
|
+
```
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ColliderShape](./server.collidershape.md)
|
4
|
+
|
5
|
+
## ColliderShape enum
|
6
|
+
|
7
|
+
The shapes a collider can be.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare enum ColliderShape
|
13
|
+
```
|
14
|
+
|
15
|
+
## Enumeration Members
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Member
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Value
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
BALL
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
`"ball"`
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td></tr>
|
47
|
+
<tr><td>
|
48
|
+
|
49
|
+
BLOCK
|
50
|
+
|
51
|
+
|
52
|
+
</td><td>
|
53
|
+
|
54
|
+
`"block"`
|
55
|
+
|
56
|
+
|
57
|
+
</td><td>
|
58
|
+
|
59
|
+
|
60
|
+
</td></tr>
|
61
|
+
<tr><td>
|
62
|
+
|
63
|
+
CAPSULE
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
`"capsule"`
|
69
|
+
|
70
|
+
|
71
|
+
</td><td>
|
72
|
+
|
73
|
+
|
74
|
+
</td></tr>
|
75
|
+
<tr><td>
|
76
|
+
|
77
|
+
CONE
|
78
|
+
|
79
|
+
|
80
|
+
</td><td>
|
81
|
+
|
82
|
+
`"cone"`
|
83
|
+
|
84
|
+
|
85
|
+
</td><td>
|
86
|
+
|
87
|
+
|
88
|
+
</td></tr>
|
89
|
+
<tr><td>
|
90
|
+
|
91
|
+
CYLINDER
|
92
|
+
|
93
|
+
|
94
|
+
</td><td>
|
95
|
+
|
96
|
+
`"cylinder"`
|
97
|
+
|
98
|
+
|
99
|
+
</td><td>
|
100
|
+
|
101
|
+
|
102
|
+
</td></tr>
|
103
|
+
<tr><td>
|
104
|
+
|
105
|
+
ROUND\_CYLINDER
|
106
|
+
|
107
|
+
|
108
|
+
</td><td>
|
109
|
+
|
110
|
+
`"round-cylinder"`
|
111
|
+
|
112
|
+
|
113
|
+
</td><td>
|
114
|
+
|
115
|
+
|
116
|
+
</td></tr>
|
117
|
+
</tbody></table>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [CollisionCallback](./server.collisioncallback.md)
|
4
|
+
|
5
|
+
## CollisionCallback type
|
6
|
+
|
7
|
+
A callback function that is called when a collision occurs.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export type CollisionCallback = (other: BlockType | Entity, started: boolean) => void;
|
13
|
+
```
|
14
|
+
**References:** [BlockType](./server.blocktype.md)<!-- -->, [Entity](./server.entity.md)
|
15
|
+
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [CollisionGroup](./server.collisiongroup.md)
|
4
|
+
|
5
|
+
## CollisionGroup enum
|
6
|
+
|
7
|
+
The default collision groups.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare enum CollisionGroup
|
13
|
+
```
|
14
|
+
|
15
|
+
## Enumeration Members
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Member
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Value
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
ALL
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
`65535`
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td></tr>
|
47
|
+
<tr><td>
|
48
|
+
|
49
|
+
BLOCK
|
50
|
+
|
51
|
+
|
52
|
+
</td><td>
|
53
|
+
|
54
|
+
`1`
|
55
|
+
|
56
|
+
|
57
|
+
</td><td>
|
58
|
+
|
59
|
+
|
60
|
+
</td></tr>
|
61
|
+
<tr><td>
|
62
|
+
|
63
|
+
ENTITY
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
`2`
|
69
|
+
|
70
|
+
|
71
|
+
</td><td>
|
72
|
+
|
73
|
+
|
74
|
+
</td></tr>
|
75
|
+
<tr><td>
|
76
|
+
|
77
|
+
ENTITY\_SENSOR
|
78
|
+
|
79
|
+
|
80
|
+
</td><td>
|
81
|
+
|
82
|
+
`4`
|
83
|
+
|
84
|
+
|
85
|
+
</td><td>
|
86
|
+
|
87
|
+
|
88
|
+
</td></tr>
|
89
|
+
<tr><td>
|
90
|
+
|
91
|
+
PLAYER
|
92
|
+
|
93
|
+
|
94
|
+
</td><td>
|
95
|
+
|
96
|
+
`8`
|
97
|
+
|
98
|
+
|
99
|
+
</td><td>
|
100
|
+
|
101
|
+
|
102
|
+
</td></tr>
|
103
|
+
</tbody></table>
|
104
|
+
|
105
|
+
## Remarks
|
106
|
+
|
107
|
+
The collision groups are used to determine which objects collide and generate collision and contact force events. The default collision groups can be used for most entity and block interactions, but you may want to create your own for more complex scenarios. Up to 15 collision groups can be registered. Collision groups use pairwise filtering using bit masks.
|
108
|
+
|
109
|
+
This filtering method is based on two 16-bit values: - The belongsTo groups (the 16 left-most bits of `self.0`<!-- -->). - The collidesWith mask (the 16 right-most bits of `self.0`<!-- -->).
|
110
|
+
|
111
|
+
An interaction is allowed between two filters `a` and `b` two conditions are met simultaneously: - The belongsTo groups of `a` has at least one bit set to `1` in common with the collidesWith mask of `b`<!-- -->. - The belongsTo groups of `b` has at least one bit set to `1` in common with the collidesWith mask of `a`<!-- -->. In other words, interactions are allowed between two filter if the following condition is met:
|
112
|
+
|
113
|
+
```
|
114
|
+
((a >> 16) & b) != 0 && ((b >> 16) & a) != 0
|
115
|
+
```
|
116
|
+
|