@ignifx/physics 0.11.0 → 0.13.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 +16 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/skills/physics/SKILL.md +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -560,6 +560,8 @@ export declare class Rigidbody extends Component implements ComponentHooks {
|
|
|
560
560
|
#private;
|
|
561
561
|
/** The namespaced registration id. */
|
|
562
562
|
static typeId: string;
|
|
563
|
+
/** What the component does, in one line, for an inspector. */
|
|
564
|
+
static description: string;
|
|
563
565
|
/** One body per entity. */
|
|
564
566
|
static allowMultiple: boolean;
|
|
565
567
|
/** The serialized field declarations (ADR-0004). */
|
|
@@ -702,6 +704,8 @@ export declare class CharacterController extends Component implements ComponentH
|
|
|
702
704
|
#private;
|
|
703
705
|
/** The namespaced registration id. */
|
|
704
706
|
static typeId: string;
|
|
707
|
+
/** What the component does, in one line, for an inspector. */
|
|
708
|
+
static description: string;
|
|
705
709
|
/** One controller per entity. */
|
|
706
710
|
static allowMultiple: boolean;
|
|
707
711
|
/** The serialized field declarations (ADR-0004). */
|
|
@@ -845,6 +849,8 @@ type CapsuleDirection = (typeof CAPSULE_DIRECTIONS)[number];
|
|
|
845
849
|
export declare class BoxCollider extends Collider {
|
|
846
850
|
/** The namespaced registration id. */
|
|
847
851
|
static typeId: string;
|
|
852
|
+
/** What the component does, in one line, for an inspector. */
|
|
853
|
+
static description: string;
|
|
848
854
|
/** The serialized field declarations (ADR-0004). */
|
|
849
855
|
static schema: Schema;
|
|
850
856
|
size: Vec3Like;
|
|
@@ -884,6 +890,8 @@ export declare class BoxCollider extends Collider {
|
|
|
884
890
|
export declare class SphereCollider extends Collider {
|
|
885
891
|
/** The namespaced registration id. */
|
|
886
892
|
static typeId: string;
|
|
893
|
+
/** What the component does, in one line, for an inspector. */
|
|
894
|
+
static description: string;
|
|
887
895
|
/** The serialized field declarations. */
|
|
888
896
|
static schema: Schema;
|
|
889
897
|
radius: number;
|
|
@@ -926,6 +934,8 @@ export declare class SphereCollider extends Collider {
|
|
|
926
934
|
export declare class CapsuleCollider extends Collider {
|
|
927
935
|
/** The namespaced registration id. */
|
|
928
936
|
static typeId: string;
|
|
937
|
+
/** What the component does, in one line, for an inspector. */
|
|
938
|
+
static description: string;
|
|
929
939
|
/** The serialized field declarations. */
|
|
930
940
|
static schema: Schema;
|
|
931
941
|
radius: number;
|
|
@@ -966,6 +976,8 @@ export declare class CapsuleCollider extends Collider {
|
|
|
966
976
|
export declare class CylinderCollider extends Collider {
|
|
967
977
|
/** The namespaced registration id. */
|
|
968
978
|
static typeId: string;
|
|
979
|
+
/** What the component does, in one line, for an inspector. */
|
|
980
|
+
static description: string;
|
|
969
981
|
/** The serialized field declarations. */
|
|
970
982
|
static schema: Schema;
|
|
971
983
|
radius: number;
|
|
@@ -1013,6 +1025,8 @@ export declare class MeshCollider extends Collider {
|
|
|
1013
1025
|
#private;
|
|
1014
1026
|
/** The namespaced registration id. */
|
|
1015
1027
|
static typeId: string;
|
|
1028
|
+
/** What the component does, in one line, for an inspector. */
|
|
1029
|
+
static description: string;
|
|
1016
1030
|
/** The serialized field declarations. */
|
|
1017
1031
|
static schema: Schema;
|
|
1018
1032
|
mesh: AssetHandle<MeshAsset> | null;
|
|
@@ -1052,6 +1066,8 @@ export declare class MeshCollider extends Collider {
|
|
|
1052
1066
|
export declare class HeightfieldCollider extends Collider {
|
|
1053
1067
|
/** The namespaced registration id. */
|
|
1054
1068
|
static typeId: string;
|
|
1069
|
+
/** What the component does, in one line, for an inspector. */
|
|
1070
|
+
static description: string;
|
|
1055
1071
|
/** The serialized field declarations. */
|
|
1056
1072
|
static schema: Schema;
|
|
1057
1073
|
heights: number[];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/settings.ts","../src/material.ts","../src/lite/havok.ts","../src/components/collider.ts","../src/events.ts","../src/components/rigidbody.ts","../src/components/character-controller.ts","../src/components/colliders.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":";;;;;;;;;;;;;;qBAea;;;;;;qBAOA;;;;;;;UAQI;;WAEN;;WAEA;;WAEA;;;;;;;;UASM;;WAEN;;WAEA;;;;;;;;;;;;;;;;;;;UAoBM;;WAEN,SAAS;;;;;WAKT,iBAAiB,SAAS;;WAE1B,iBAAiB;;WAEjB,gBAAgB;;WAEhB;;WAEA;;;;;;;;;;;;;wBA8BK,yBAAyB;;;;;;;;wBAyBzB,0BAA0B;;;;;;;;;;;;;qBC5H7B;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;;;;;;;;qBAcA,2BAA2B;;SAE/B;;WAGE;;WAGA;;WAGA;;WAGA;;;;;;;;EAST,YAAY,cAAc,QAAQ;;;;;;;;;;;;;SAmB3B,WAAW,cAAc,QAAQ,QAAQ,yBAAyB;;;;;;;;;wBAiB3D,+BAA+B,YAAY;;;;;;;;;;;wBAqB3C,qBAAqB,iBAAiB,UAAU,YAAY;;;;;;;;;wBAgC5D,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KC9FzC,mBAAmB;;;;;;;KAQnB,kBAAkB;;;;;;KAOlB,mBAAmB;;;;;;;cAQlB;;WAEX;;WAEA;;WAEA;;;;;;;KAQU,qBAAqB,yBAAyB;;UA0EzC;;WAEN,QAAQ;;WAER,OAAO;;;;;;;;;;;;;;;;wBCnKF,kBAAkB;;;;;;;8BAsBZ,iBAAiB,qBAAqB;;SAEnD;;EAGP,QAAgB;;EAGhB;;EAGA,UAAkB,YAAY;;EAG9B,gBAAwB;;EAGxB;;;;EAKA;;EAMA;;EAKA;;;;;;;EAUA,WAAW;;;;;;;;;;;EAeX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3,"file":"index.d.ts","names":[],"sources":["../src/settings.ts","../src/material.ts","../src/lite/havok.ts","../src/components/collider.ts","../src/events.ts","../src/components/rigidbody.ts","../src/components/character-controller.ts","../src/components/colliders.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":";;;;;;;;;;;;;;qBAea;;;;;;qBAOA;;;;;;;UAQI;;WAEN;;WAEA;;WAEA;;;;;;;;UASM;;WAEN;;WAEA;;;;;;;;;;;;;;;;;;;UAoBM;;WAEN,SAAS;;;;;WAKT,iBAAiB,SAAS;;WAE1B,iBAAiB;;WAEjB,gBAAgB;;WAEhB;;WAEA;;;;;;;;;;;;;wBA8BK,yBAAyB;;;;;;;;wBAyBzB,0BAA0B;;;;;;;;;;;;;qBC5H7B;;;;;;qBAOA;;;;;;qBAOA;;;;;;qBAOA;;;;;;;;;;;;;qBAcA,2BAA2B;;SAE/B;;WAGE;;WAGA;;WAGA;;WAGA;;;;;;;;EAST,YAAY,cAAc,QAAQ;;;;;;;;;;;;;SAmB3B,WAAW,cAAc,QAAQ,QAAQ,yBAAyB;;;;;;;;;wBAiB3D,+BAA+B,YAAY;;;;;;;;;;;wBAqB3C,qBAAqB,iBAAiB,UAAU,YAAY;;;;;;;;;wBAgC5D,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KC9FzC,mBAAmB;;;;;;;KAQnB,kBAAkB;;;;;;KAOlB,mBAAmB;;;;;;;cAQlB;;WAEX;;WAEA;;WAEA;;;;;;;KAQU,qBAAqB,yBAAyB;;UA0EzC;;WAEN,QAAQ;;WAER,OAAO;;;;;;;;;;;;;;;;wBCnKF,kBAAkB;;;;;;;8BAsBZ,iBAAiB,qBAAqB;;SAEnD;;EAGP,QAAgB;;EAGhB;;EAGA,UAAkB,YAAY;;EAG9B,gBAAwB;;EAGxB;;;;EAKA;;EAMA;;EAKA;;;;;;;EAUA,WAA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;;;;;;;qBAqBT,UAAU,UAAU,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;wBC3CpC,mBAAmB,SAAS,eAAe"}
|
package/dist/index.js
CHANGED
|
@@ -70,6 +70,8 @@ const KINEMATIC_SYNC_MODES = ["teleport", "velocity"];
|
|
|
70
70
|
var Rigidbody = class Rigidbody extends Component {
|
|
71
71
|
/** The namespaced registration id. */
|
|
72
72
|
static typeId = "ignifx/Rigidbody";
|
|
73
|
+
/** What the component does, in one line, for an inspector. */
|
|
74
|
+
static description = "Makes an entity's colliders a dynamic, kinematic, or static Havok body.";
|
|
73
75
|
/** One body per entity. */
|
|
74
76
|
static allowMultiple = false;
|
|
75
77
|
/** The serialized field declarations (ADR-0004). */
|
|
@@ -267,6 +269,8 @@ const SUPPORT_STATES = [
|
|
|
267
269
|
var CharacterController = class CharacterController extends Component {
|
|
268
270
|
/** The namespaced registration id. */
|
|
269
271
|
static typeId = "ignifx/CharacterController";
|
|
272
|
+
/** What the component does, in one line, for an inspector. */
|
|
273
|
+
static description = "A kinematic capsule with collide-and-slide, support detection, and body pushing.";
|
|
270
274
|
/** One controller per entity. */
|
|
271
275
|
static allowMultiple = false;
|
|
272
276
|
/** The serialized field declarations (ADR-0004). */
|
|
@@ -1689,6 +1693,8 @@ const CAPSULE_DIRECTIONS = [
|
|
|
1689
1693
|
var BoxCollider = class BoxCollider extends Collider {
|
|
1690
1694
|
/** The namespaced registration id. */
|
|
1691
1695
|
static typeId = "ignifx/BoxCollider";
|
|
1696
|
+
/** What the component does, in one line, for an inspector. */
|
|
1697
|
+
static description = "A box collision shape, sized in local units and scaled by the entity.";
|
|
1692
1698
|
/** The serialized field declarations (ADR-0004). */
|
|
1693
1699
|
static schema = boxSchema();
|
|
1694
1700
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -1746,6 +1752,8 @@ var BoxCollider = class BoxCollider extends Collider {
|
|
|
1746
1752
|
var SphereCollider = class SphereCollider extends Collider {
|
|
1747
1753
|
/** The namespaced registration id. */
|
|
1748
1754
|
static typeId = "ignifx/SphereCollider";
|
|
1755
|
+
/** What the component does, in one line, for an inspector. */
|
|
1756
|
+
static description = "A sphere collision shape; the largest scale axis wins.";
|
|
1749
1757
|
/** The serialized field declarations. */
|
|
1750
1758
|
static schema = sphereSchema();
|
|
1751
1759
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -1800,6 +1808,8 @@ var SphereCollider = class SphereCollider extends Collider {
|
|
|
1800
1808
|
var CapsuleCollider = class CapsuleCollider extends Collider {
|
|
1801
1809
|
/** The namespaced registration id. */
|
|
1802
1810
|
static typeId = "ignifx/CapsuleCollider";
|
|
1811
|
+
/** What the component does, in one line, for an inspector. */
|
|
1812
|
+
static description = "A capsule collision shape standing along X, Y, or Z.";
|
|
1803
1813
|
/** The serialized field declarations. */
|
|
1804
1814
|
static schema = capsuleSchema();
|
|
1805
1815
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -1857,6 +1867,8 @@ var CapsuleCollider = class CapsuleCollider extends Collider {
|
|
|
1857
1867
|
var CylinderCollider = class CylinderCollider extends Collider {
|
|
1858
1868
|
/** The namespaced registration id. */
|
|
1859
1869
|
static typeId = "ignifx/CylinderCollider";
|
|
1870
|
+
/** What the component does, in one line, for an inspector. */
|
|
1871
|
+
static description = "A cylinder collision shape standing along Y.";
|
|
1860
1872
|
/** The serialized field declarations. */
|
|
1861
1873
|
static schema = cylinderSchema();
|
|
1862
1874
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -1927,6 +1939,8 @@ var CylinderCollider = class CylinderCollider extends Collider {
|
|
|
1927
1939
|
var MeshCollider = class MeshCollider extends Collider {
|
|
1928
1940
|
/** The namespaced registration id. */
|
|
1929
1941
|
static typeId = "ignifx/MeshCollider";
|
|
1942
|
+
/** What the component does, in one line, for an inspector. */
|
|
1943
|
+
static description = "A triangle-mesh or convex-hull shape built from real geometry; needs a GPU app.";
|
|
1930
1944
|
/** The serialized field declarations. */
|
|
1931
1945
|
static schema = meshSchema();
|
|
1932
1946
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -1990,6 +2004,8 @@ var MeshCollider = class MeshCollider extends Collider {
|
|
|
1990
2004
|
var HeightfieldCollider = class HeightfieldCollider extends Collider {
|
|
1991
2005
|
/** The namespaced registration id. */
|
|
1992
2006
|
static typeId = "ignifx/HeightfieldCollider";
|
|
2007
|
+
/** What the component does, in one line, for an inspector. */
|
|
2008
|
+
static description = "A terrain collision shape built from a regular grid of height samples.";
|
|
1993
2009
|
/** The serialized field declarations. */
|
|
1994
2010
|
static schema = heightfieldSchema();
|
|
1995
2011
|
/** Applies this collider's defaults on top of the shared ones. */
|
|
@@ -5068,14 +5084,14 @@ function seedExistingBodies(app, host) {
|
|
|
5068
5084
|
*/
|
|
5069
5085
|
function describeSchemas() {
|
|
5070
5086
|
return {
|
|
5071
|
-
"ignifx/Rigidbody": describeSchema("ignifx/Rigidbody", Rigidbody.schema, { description:
|
|
5072
|
-
"ignifx/BoxCollider": describeSchema("ignifx/BoxCollider", BoxCollider.schema, { description:
|
|
5073
|
-
"ignifx/SphereCollider": describeSchema("ignifx/SphereCollider", SphereCollider.schema, { description:
|
|
5074
|
-
"ignifx/CapsuleCollider": describeSchema("ignifx/CapsuleCollider", CapsuleCollider.schema, { description:
|
|
5075
|
-
"ignifx/CylinderCollider": describeSchema("ignifx/CylinderCollider", CylinderCollider.schema, { description:
|
|
5076
|
-
"ignifx/MeshCollider": describeSchema("ignifx/MeshCollider", MeshCollider.schema, { description:
|
|
5077
|
-
"ignifx/HeightfieldCollider": describeSchema("ignifx/HeightfieldCollider", HeightfieldCollider.schema, { description:
|
|
5078
|
-
"ignifx/CharacterController": describeSchema("ignifx/CharacterController", CharacterController.schema, { description:
|
|
5087
|
+
"ignifx/Rigidbody": describeSchema("ignifx/Rigidbody", Rigidbody.schema, { description: Rigidbody.description }),
|
|
5088
|
+
"ignifx/BoxCollider": describeSchema("ignifx/BoxCollider", BoxCollider.schema, { description: BoxCollider.description }),
|
|
5089
|
+
"ignifx/SphereCollider": describeSchema("ignifx/SphereCollider", SphereCollider.schema, { description: SphereCollider.description }),
|
|
5090
|
+
"ignifx/CapsuleCollider": describeSchema("ignifx/CapsuleCollider", CapsuleCollider.schema, { description: CapsuleCollider.description }),
|
|
5091
|
+
"ignifx/CylinderCollider": describeSchema("ignifx/CylinderCollider", CylinderCollider.schema, { description: CylinderCollider.description }),
|
|
5092
|
+
"ignifx/MeshCollider": describeSchema("ignifx/MeshCollider", MeshCollider.schema, { description: MeshCollider.description }),
|
|
5093
|
+
"ignifx/HeightfieldCollider": describeSchema("ignifx/HeightfieldCollider", HeightfieldCollider.schema, { description: HeightfieldCollider.description }),
|
|
5094
|
+
"ignifx/CharacterController": describeSchema("ignifx/CharacterController", CharacterController.schema, { description: CharacterController.description }),
|
|
5079
5095
|
"ignifx/physicsmaterial-file": describePhysicsMaterialFileFormat()
|
|
5080
5096
|
};
|
|
5081
5097
|
}
|