@umicat/three-sdk 1.17.0 → 1.17.1

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/README.md CHANGED
@@ -40,6 +40,15 @@ middle-mouse pan, F-to-focus, or Studio's comma/period ring-rotate.
40
40
  > each of those arrived. A status line is the first thing anyone reads and the
41
41
  > last thing anyone updates.
42
42
 
43
+ **Multiplayer is in the layer below, and it has rules worth reading before you
44
+ design anything around it** — the room type is always `'lobby'`, and the server
45
+ is authoritative about identity and ownership rather than about your game's
46
+ rules (so shared, contended state has no referee, and secret state is not
47
+ possible yet). It is written up in `@umicat/platform-sdk`'s README, under
48
+ "`rooms`: what the server guarantees, and what it does not". **A 3D game shipped
49
+ the wrong room type because that write-up used to live only in the Phaser SDK's
50
+ guide**, which nothing here points at.
51
+
43
52
  ```
44
53
  @umicat/platform-sdk identity · saves · gameData · rooms · ai · voice · dialogue
45
54
  ▲ (shared with @umicat/phaser-sdk)
@@ -269,7 +269,10 @@ export async function runEditorDesignPlayer3D(renderer, opts = {}) {
269
269
  // preserve the 0.37 forever, and the visible seam with it.
270
270
  let snapEnabled = true;
271
271
  let snapStep = 1;
272
- let snapRotateRad = Math.PI / 2;
272
+ // 45 degrees, matching Roblox Studio. Multiples of 45 REACH every 90-degree
273
+ // orientation while also permitting diagonals, so it is strictly more
274
+ // reachable than a 90 default at no cost — which is why Studio picked it.
275
+ let snapRotateRad = Math.PI / 4;
273
276
  const snap1 = (v) => Math.round(v / snapStep) * snapStep;
274
277
  /**
275
278
  * Round a WORLD-space position onto the grid. Always called BEFORE the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umicat/three-sdk",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Three.js runtime for Umicat games: the scene3d design format, its loader with physics, a kinematic character controller, and the Umicat platform via @umicat/platform-sdk.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",