@dcl/ecs 7.1.9 → 7.1.10-4820554805.commit-a6884eb

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.
@@ -10,8 +10,8 @@
10
10
  export interface PBGltfContainer {
11
11
  /** the GLTF file path as listed in the scene's manifest. */
12
12
  src: string;
13
- /** disable automatic physics collider creation (default: false) */
14
- disablePhysicsColliders?: boolean | undefined;
15
- /** copies the visible meshes into a virtual MeshCollider with CL_POINTER collider_mask (default: false) */
16
- createPointerColliders?: boolean | undefined;
13
+ /** default: 0 */
14
+ visibleMeshesCollisionMask?: number | undefined;
15
+ /** default: CL_POINTER | CL_PHYSICS */
16
+ invisibleMeshesCollisionMask?: number | undefined;
17
17
  }
@@ -2,7 +2,7 @@
2
2
  import _m0 from "protobufjs/minimal";
3
3
  const protobufPackageSarasa = "decentraland.sdk.components";
4
4
  function createBasePBGltfContainer() {
5
- return { src: "", disablePhysicsColliders: undefined, createPointerColliders: undefined };
5
+ return { src: "", visibleMeshesCollisionMask: undefined, invisibleMeshesCollisionMask: undefined };
6
6
  }
7
7
  /**
8
8
  * @public
@@ -15,11 +15,11 @@ export const PBGltfContainer = {
15
15
  if (message.src !== "") {
16
16
  writer.uint32(10).string(message.src);
17
17
  }
18
- if (message.disablePhysicsColliders !== undefined) {
19
- writer.uint32(16).bool(message.disablePhysicsColliders);
18
+ if (message.visibleMeshesCollisionMask !== undefined) {
19
+ writer.uint32(32).uint32(message.visibleMeshesCollisionMask);
20
20
  }
21
- if (message.createPointerColliders !== undefined) {
22
- writer.uint32(24).bool(message.createPointerColliders);
21
+ if (message.invisibleMeshesCollisionMask !== undefined) {
22
+ writer.uint32(40).uint32(message.invisibleMeshesCollisionMask);
23
23
  }
24
24
  return writer;
25
25
  },
@@ -36,17 +36,17 @@ export const PBGltfContainer = {
36
36
  }
37
37
  message.src = reader.string();
38
38
  continue;
39
- case 2:
40
- if (tag != 16) {
39
+ case 4:
40
+ if (tag != 32) {
41
41
  break;
42
42
  }
43
- message.disablePhysicsColliders = reader.bool();
43
+ message.visibleMeshesCollisionMask = reader.uint32();
44
44
  continue;
45
- case 3:
46
- if (tag != 24) {
45
+ case 5:
46
+ if (tag != 40) {
47
47
  break;
48
48
  }
49
- message.createPointerColliders = reader.bool();
49
+ message.invisibleMeshesCollisionMask = reader.uint32();
50
50
  continue;
51
51
  }
52
52
  if ((tag & 7) == 4 || tag == 0) {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.1.9",
4
+ "version": "7.1.10-4820554805.commit-a6884eb",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "dependencies": {
8
- "@dcl/js-runtime": "7.1.9"
8
+ "@dcl/js-runtime": "7.1.10-4820554805.commit-a6884eb"
9
9
  },
10
10
  "devDependencies": {
11
11
  "ts-proto": "^1.122.0"
@@ -34,5 +34,5 @@
34
34
  },
35
35
  "types": "./dist/index.d.ts",
36
36
  "typings": "./dist/index.d.ts",
37
- "commit": "8752a16ce1389f4baa8cdb218ebcf1c2ed2ba97c"
37
+ "commit": "a6884eb6b45853a53d999e49afbdf13f7bda5e4d"
38
38
  }