@dcl/protocol 1.0.0-2959077731.commit-a10e494 → 1.0.0-2966376980.commit-dc74106

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.
@@ -0,0 +1,35 @@
1
+ syntax = "proto3";
2
+
3
+ import "common/id.proto";
4
+ option (ecs_component_id) = 1019;
5
+
6
+ enum ColliderLayer {
7
+ None = 0;
8
+ Pointer = 1;
9
+ Physics = 2;
10
+ }
11
+
12
+ message PBMeshCollider {
13
+ message BoxMesh {
14
+ }
15
+
16
+ message CylinderMesh {
17
+ optional float radius_top = 1; // default=1.0
18
+ optional float radius_bottom = 2; // default=1.0
19
+ }
20
+
21
+ message PlaneMesh {
22
+ }
23
+
24
+ message SphereMesh {
25
+ }
26
+
27
+ optional int32 collision_mask = 1; // default = ColliderLayer.Physics | ColliderLayer.Pointer
28
+
29
+ oneof mesh {
30
+ BoxMesh box = 2;
31
+ SphereMesh sphere = 3;
32
+ CylinderMesh cylinder = 4;
33
+ PlaneMesh plane = 5;
34
+ }
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-2959077731.commit-a10e494",
3
+ "version": "1.0.0-2966376980.commit-dc74106",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,5 +18,5 @@
18
18
  "ecs",
19
19
  "bff"
20
20
  ],
21
- "commit": "a10e494213acb02f71f3e6215d7163a71d999588"
21
+ "commit": "dc74106b0230645466ca078d5c48912297633697"
22
22
  }