@ignifx/physics-2d 0.12.0 → 0.14.0

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/dist/index.d.ts CHANGED
@@ -500,6 +500,8 @@ export declare class Rigidbody2D extends Component implements ComponentHooks {
500
500
  #private;
501
501
  /** The namespaced registration id. */
502
502
  static typeId: string;
503
+ /** What the component does, in one line, for an inspector. */
504
+ static description: string;
503
505
  /** One body per entity. */
504
506
  static allowMultiple: boolean;
505
507
  /** The serialized field declarations (ADR-0004). */
@@ -648,6 +650,8 @@ export declare class CharacterController2D extends Component implements Componen
648
650
  #private;
649
651
  /** The namespaced registration id. */
650
652
  static typeId: string;
653
+ /** What the component does, in one line, for an inspector. */
654
+ static description: string;
651
655
  /** One controller per entity. */
652
656
  static allowMultiple: boolean;
653
657
  /** The serialized field declarations (ADR-0004). */
@@ -774,6 +778,8 @@ type CapsuleDirection2D = (typeof CAPSULE_DIRECTIONS_2D)[number];
774
778
  export declare class BoxCollider2D extends Collider2D {
775
779
  /** The namespaced registration id. */
776
780
  static typeId: string;
781
+ /** What the component does, in one line, for an inspector. */
782
+ static description: string;
777
783
  /** The serialized field declarations (ADR-0004). */
778
784
  static schema: Schema;
779
785
  size: Vec2Like;
@@ -798,6 +804,8 @@ export declare class BoxCollider2D extends Collider2D {
798
804
  export declare class CircleCollider2D extends Collider2D {
799
805
  /** The namespaced registration id. */
800
806
  static typeId: string;
807
+ /** What the component does, in one line, for an inspector. */
808
+ static description: string;
801
809
  /** The serialized field declarations. */
802
810
  static schema: Schema;
803
811
  radius: number;
@@ -827,6 +835,8 @@ export declare class CircleCollider2D extends Collider2D {
827
835
  export declare class CapsuleCollider2D extends Collider2D {
828
836
  /** The namespaced registration id. */
829
837
  static typeId: string;
838
+ /** What the component does, in one line, for an inspector. */
839
+ static description: string;
830
840
  /** The serialized field declarations. */
831
841
  static schema: Schema;
832
842
  radius: number;
@@ -857,6 +867,8 @@ export declare class CapsuleCollider2D extends Collider2D {
857
867
  export declare class PolygonCollider2D extends Collider2D {
858
868
  /** The namespaced registration id. */
859
869
  static typeId: string;
870
+ /** What the component does, in one line, for an inspector. */
871
+ static description: string;
860
872
  /** The serialized field declarations. */
861
873
  static schema: Schema;
862
874
  points: Vec2Like[];
@@ -881,6 +893,8 @@ export declare class PolygonCollider2D extends Collider2D {
881
893
  export declare class EdgeCollider2D extends Collider2D {
882
894
  /** The namespaced registration id. */
883
895
  static typeId: string;
896
+ /** What the component does, in one line, for an inspector. */
897
+ static description: string;
884
898
  /** The serialized field declarations. */
885
899
  static schema: Schema;
886
900
  points: Vec2Like[];
@@ -922,6 +936,8 @@ export declare class TilemapCollider2D extends Collider2D {
922
936
  #private;
923
937
  /** The namespaced registration id. */
924
938
  static typeId: string;
939
+ /** What the component does, in one line, for an inspector. */
940
+ static description: string;
925
941
  /** The serialized field declarations; the geometry itself comes from the tilemap asset. */
926
942
  static schema: Schema;
927
943
  /** Applies the shared defaults. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/settings.ts","../src/material.ts","../src/lite/rapier/world.ts","../src/components/collider.ts","../src/events.ts","../src/components/rigidbody.ts","../src/components/character-controller.ts","../src/components/colliders.ts","../src/components/tilemap-collider.ts","../src/errors.ts","../src/queries.ts","../src/runtime/body-record.ts","../src/runtime/runtime.ts","../src/runtime/host.ts","../src/service.ts","../src/extension.ts","../src/schemas.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa;;;;;;UAOI;;WAEN;;WAEA;;;;;;;;;;;;;;;;;;;UAoBM;;WAEN,SAAS;;;;;WAKT,iBAAiB,SAAS;;WAE1B,iBAAiB;;WAEjB;;WAEA;;;;;;;;;;;;;wBAuBK,2BAA2B;;;;;;;;wBAoB3B,4BAA4B;;;;;;;;;;;;;qBCzF/B;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;;;;;;;qBAaA,6BAA6B;;SAEjC;;WAGE;;WAGA;;WAGA;;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;;;;;qBAgBL;;;;;;;;;;EAyBX,YAAY,MAAM,eAAe,UAAU;;;;;;MAUvC,WAAW;;;;;;MASX,QAAQ,OAAO;;;;;;MAUf,UAAU;;;;;;;;;;;EAcd,QACE,QAAQ,UACR,WAAW,UACX,sBACA,UAAU,iBACT;;;;;;;;;;;EA8BH,WACE,QAAQ,UACR,WAAW,UACX,sBACA,UAAU,0BACA;;;;;;;;;;EA0CZ,cAAc,QAAQ,UAAU,gBAAgB,UAAU,0BAA0B;;;;;;;;;;;EAcpF,WAAW,QAAQ,UAAU,MAAM,UAAU,mBAAsB,UAAU,0BAA0B;;;;;;;;;;;;EAqBvG,UACE,QAAQ,UACR,gBACA,WAAW,UACX,qBACA,UAAU,iBACT;;;;;;;;;;;;;;;;;;;;;;;EAmIH,iBAAiB,QAAQ,kBAAkB;;;;;;;;;;;;;;UClW5B;;;;;;;WAON,mBAAmB;;;YAIlB;;aAEC,WAAW;;;;;;;;;;;;;;;;qBAiBX,YAAY,UAAU,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;wBCvCxC,mBAAmB,SAAS,eAAe"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/settings.ts","../src/material.ts","../src/lite/rapier/world.ts","../src/components/collider.ts","../src/events.ts","../src/components/rigidbody.ts","../src/components/character-controller.ts","../src/components/colliders.ts","../src/components/tilemap-collider.ts","../src/errors.ts","../src/queries.ts","../src/runtime/body-record.ts","../src/runtime/runtime.ts","../src/runtime/host.ts","../src/service.ts","../src/extension.ts","../src/schemas.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa;;;;;;UAOI;;WAEN;;WAEA;;;;;;;;;;;;;;;;;;;UAoBM;;WAEN,SAAS;;;;;WAKT,iBAAiB,SAAS;;WAE1B,iBAAiB;;WAEjB;;WAEA;;;;;;;;;;;;;wBAuBK,2BAA2B;;;;;;;;wBAoB3B,4BAA4B;;;;;;;;;;;;;qBCzF/B;;;;;;qBAOA;;;;;;qBAOA;;;;;;qB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;;;;;;cChoBW;;EAEX,SAAS;;;;;;;;;;UCyBM;;WAEN,OAAO;;;;;;;;UASD;;WAEN,UAAU;;WAEV;;;;;WAKA,OAAO;;;;;;;;;;;;;;;qBAgBL;;;;;;;;;;EAyBX,YAAY,MAAM,eAAe,UAAU;;;;;;MAUvC,WAAW;;;;;;MASX,QAAQ,OAAO;;;;;;MAUf,UAAU;;;;;;;;;;;EAcd,QACE,QAAQ,UACR,WAAW,UACX,sBACA,UAAU,iBACT;;;;;;;;;;;EA8BH,WACE,QAAQ,UACR,WAAW,UACX,sBACA,UAAU,0BACA;;;;;;;;;;EA0CZ,cAAc,QAAQ,UAAU,gBAAgB,UAAU,0BAA0B;;;;;;;;;;;EAcpF,WAAW,QAAQ,UAAU,MAAM,UAAU,mBAAsB,UAAU,0BAA0B;;;;;;;;;;;;EAqBvG,UACE,QAAQ,UACR,gBACA,WAAW,UACX,qBACA,UAAU,iBACT;;;;;;;;;;;;;;;;;;;;;;;EAmIH,iBAAiB,QAAQ,kBAAkB;;;;;;;;;;;;;;UClW5B;;;;;;;WAON,mBAAmB;;;YAIlB;;aAEC,WAAW;;;;;;;;;;;;;;;;qBAiBX,YAAY,UAAU,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;wBCvCxC,mBAAmB,SAAS,eAAe"}
package/dist/index.js CHANGED
@@ -62,6 +62,8 @@ const COLLISION_EVENT_MODES_2D = [
62
62
  var Rigidbody2D = class Rigidbody2D extends Component {
63
63
  /** The namespaced registration id. */
64
64
  static typeId = "ignifx/Rigidbody2D";
65
+ /** What the component does, in one line, for an inspector. */
66
+ static description = "Makes an entity's 2D colliders a dynamic, kinematic, or static Rapier body.";
65
67
  /** One body per entity. */
66
68
  static allowMultiple = false;
67
69
  /** The serialized field declarations (ADR-0004). */
@@ -256,6 +258,8 @@ const CHARACTER_SHAPES_2D = ["capsule", "box"];
256
258
  var CharacterController2D = class CharacterController2D extends Component {
257
259
  /** The namespaced registration id. */
258
260
  static typeId = "ignifx/CharacterController2D";
261
+ /** What the component does, in one line, for an inspector. */
262
+ static description = "A kinematic character with collide-and-slide, slopes, autostep, and snap-to-ground.";
259
263
  /** One controller per entity. */
260
264
  static allowMultiple = false;
261
265
  /** The serialized field declarations (ADR-0004). */
@@ -782,6 +786,8 @@ const CAPSULE_DIRECTIONS_2D = ["x", "y"];
782
786
  var BoxCollider2D = class BoxCollider2D extends Collider2D {
783
787
  /** The namespaced registration id. */
784
788
  static typeId = "ignifx/BoxCollider2D";
789
+ /** What the component does, in one line, for an inspector. */
790
+ static description = "An axis-aligned box, sized in local metres and scaled by the entity.";
785
791
  /** The serialized field declarations (ADR-0004). */
786
792
  static schema = boxSchema();
787
793
  /** Applies this collider's defaults on top of the shared ones. */
@@ -819,6 +825,8 @@ var BoxCollider2D = class BoxCollider2D extends Collider2D {
819
825
  var CircleCollider2D = class CircleCollider2D extends Collider2D {
820
826
  /** The namespaced registration id. */
821
827
  static typeId = "ignifx/CircleCollider2D";
828
+ /** What the component does, in one line, for an inspector. */
829
+ static description = "A circle; the larger scale axis wins.";
822
830
  /** The serialized field declarations. */
823
831
  static schema = circleSchema();
824
832
  /** Applies this collider's defaults on top of the shared ones. */
@@ -860,6 +868,8 @@ var CircleCollider2D = class CircleCollider2D extends Collider2D {
860
868
  var CapsuleCollider2D = class CapsuleCollider2D extends Collider2D {
861
869
  /** The namespaced registration id. */
862
870
  static typeId = "ignifx/CapsuleCollider2D";
871
+ /** What the component does, in one line, for an inspector. */
872
+ static description = "A capsule standing along X or Y.";
863
873
  /** The serialized field declarations. */
864
874
  static schema = capsuleSchema();
865
875
  /** Applies this collider's defaults on top of the shared ones. */
@@ -906,6 +916,8 @@ var CapsuleCollider2D = class CapsuleCollider2D extends Collider2D {
906
916
  var PolygonCollider2D = class PolygonCollider2D extends Collider2D {
907
917
  /** The namespaced registration id. */
908
918
  static typeId = "ignifx/PolygonCollider2D";
919
+ /** What the component does, in one line, for an inspector. */
920
+ static description = "The convex hull of a point list, in local metres.";
909
921
  /** The serialized field declarations. */
910
922
  static schema = pointsSchema();
911
923
  /** Applies this collider's defaults on top of the shared ones. */
@@ -943,6 +955,8 @@ var PolygonCollider2D = class PolygonCollider2D extends Collider2D {
943
955
  var EdgeCollider2D = class EdgeCollider2D extends Collider2D {
944
956
  /** The namespaced registration id. */
945
957
  static typeId = "ignifx/EdgeCollider2D";
958
+ /** What the component does, in one line, for an inspector. */
959
+ static description = "An open chain of line segments — a platformer's ground contour.";
946
960
  /** The serialized field declarations. */
947
961
  static schema = pointsSchema();
948
962
  /** Applies this collider's defaults on top of the shared ones. */
@@ -1111,6 +1125,8 @@ const TILEMAP_TYPE_ID = "ignifx/Tilemap";
1111
1125
  var TilemapCollider2D = class TilemapCollider2D extends Collider2D {
1112
1126
  /** The namespaced registration id. */
1113
1127
  static typeId = "ignifx/TilemapCollider2D";
1128
+ /** What the component does, in one line, for an inspector. */
1129
+ static description = "The merged collision surface of a Tilemap, rebuilt when its tiles change.";
1114
1130
  /** The serialized field declarations; the geometry itself comes from the tilemap asset. */
1115
1131
  static schema = tilemapSchema();
1116
1132
  /** Geometry that code assigned, which takes the place of the sibling tilemap's. */
@@ -4109,14 +4125,14 @@ function seedExistingBodies(app, host) {
4109
4125
  */
4110
4126
  function describeSchemas() {
4111
4127
  return {
4112
- "ignifx/Rigidbody2D": describeSchema("ignifx/Rigidbody2D", Rigidbody2D.schema, { description: "Makes an entity's 2D colliders a dynamic, kinematic, or static Rapier body." }),
4113
- "ignifx/BoxCollider2D": describeSchema("ignifx/BoxCollider2D", BoxCollider2D.schema, { description: "An axis-aligned box, sized in local metres and scaled by the entity." }),
4114
- "ignifx/CircleCollider2D": describeSchema("ignifx/CircleCollider2D", CircleCollider2D.schema, { description: "A circle; the larger scale axis wins." }),
4115
- "ignifx/CapsuleCollider2D": describeSchema("ignifx/CapsuleCollider2D", CapsuleCollider2D.schema, { description: "A capsule standing along X or Y." }),
4116
- "ignifx/PolygonCollider2D": describeSchema("ignifx/PolygonCollider2D", PolygonCollider2D.schema, { description: "The convex hull of a point list, in local metres." }),
4117
- "ignifx/EdgeCollider2D": describeSchema("ignifx/EdgeCollider2D", EdgeCollider2D.schema, { description: "An open chain of line segments — a platformer's ground contour." }),
4118
- "ignifx/TilemapCollider2D": describeSchema("ignifx/TilemapCollider2D", TilemapCollider2D.schema, { description: "The merged collision surface of a Tilemap, rebuilt when its tiles change." }),
4119
- "ignifx/CharacterController2D": describeSchema("ignifx/CharacterController2D", CharacterController2D.schema, { description: "A kinematic character with collide-and-slide, slopes, autostep, and snap-to-ground." })
4128
+ "ignifx/Rigidbody2D": describeSchema("ignifx/Rigidbody2D", Rigidbody2D.schema, { description: Rigidbody2D.description }),
4129
+ "ignifx/BoxCollider2D": describeSchema("ignifx/BoxCollider2D", BoxCollider2D.schema, { description: BoxCollider2D.description }),
4130
+ "ignifx/CircleCollider2D": describeSchema("ignifx/CircleCollider2D", CircleCollider2D.schema, { description: CircleCollider2D.description }),
4131
+ "ignifx/CapsuleCollider2D": describeSchema("ignifx/CapsuleCollider2D", CapsuleCollider2D.schema, { description: CapsuleCollider2D.description }),
4132
+ "ignifx/PolygonCollider2D": describeSchema("ignifx/PolygonCollider2D", PolygonCollider2D.schema, { description: PolygonCollider2D.description }),
4133
+ "ignifx/EdgeCollider2D": describeSchema("ignifx/EdgeCollider2D", EdgeCollider2D.schema, { description: EdgeCollider2D.description }),
4134
+ "ignifx/TilemapCollider2D": describeSchema("ignifx/TilemapCollider2D", TilemapCollider2D.schema, { description: TilemapCollider2D.description }),
4135
+ "ignifx/CharacterController2D": describeSchema("ignifx/CharacterController2D", CharacterController2D.schema, { description: CharacterController2D.description })
4120
4136
  };
4121
4137
  }
4122
4138
  //#endregion