@flighthq/physics3d-abi 0.4.0-next.1827.9db114b
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/contract.d.ts +6 -0
- package/dist/contract.d.ts.map +1 -0
- package/dist/contract.js +6 -0
- package/dist/contract.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/physics3DAbi.d.ts +11 -0
- package/dist/physics3DAbi.d.ts.map +1 -0
- package/dist/physics3DAbi.js +32 -0
- package/dist/physics3DAbi.js.map +1 -0
- package/dist/physics3DAbiBuffer.d.ts +10 -0
- package/dist/physics3DAbiBuffer.d.ts.map +1 -0
- package/dist/physics3DAbiBuffer.js +81 -0
- package/dist/physics3DAbiBuffer.js.map +1 -0
- package/dist/physics3DAbiCommand.d.ts +17 -0
- package/dist/physics3DAbiCommand.d.ts.map +1 -0
- package/dist/physics3DAbiCommand.js +554 -0
- package/dist/physics3DAbiCommand.js.map +1 -0
- package/dist/physics3DAbiLayout.d.ts +216 -0
- package/dist/physics3DAbiLayout.d.ts.map +1 -0
- package/dist/physics3DAbiLayout.js +221 -0
- package/dist/physics3DAbiLayout.js.map +1 -0
- package/dist/physics3DAbiQuery.d.ts +7 -0
- package/dist/physics3DAbiQuery.d.ts.map +1 -0
- package/dist/physics3DAbiQuery.js +16 -0
- package/dist/physics3DAbiQuery.js.map +1 -0
- package/dist/referencePhysics3DAbi.d.ts +3 -0
- package/dist/referencePhysics3DAbi.d.ts.map +1 -0
- package/dist/referencePhysics3DAbi.js +1165 -0
- package/dist/referencePhysics3DAbi.js.map +1 -0
- package/package.json +50 -0
- package/src/physics3DAbi.test.ts +584 -0
- package/src/physics3DAbiBuffer.test.ts +117 -0
- package/src/physics3DAbiCommand.test.ts +368 -0
- package/src/physics3DAbiLayout.test.ts +64 -0
- package/src/physics3DAbiQuery.test.ts +122 -0
- package/src/referencePhysics3DAbi.test.ts +19 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
export declare const Physics3DAbiVersion = 1;
|
|
2
|
+
export declare const Physics3DAbiCommandMagic = 1094988624;
|
|
3
|
+
export declare const Physics3DAbiCommandHeaderByteLength = 16;
|
|
4
|
+
export declare const Physics3DAbiCommandRecordHeaderByteLength = 16;
|
|
5
|
+
export declare const Physics3DAbiCommandHeaderOffset: {
|
|
6
|
+
readonly Magic: 0;
|
|
7
|
+
readonly Version: 4;
|
|
8
|
+
readonly ByteLength: 8;
|
|
9
|
+
readonly CommandCount: 12;
|
|
10
|
+
};
|
|
11
|
+
export declare const Physics3DAbiCommandRecordOffset: {
|
|
12
|
+
readonly Kind: 0;
|
|
13
|
+
readonly ByteLength: 4;
|
|
14
|
+
readonly ObjectId: 8;
|
|
15
|
+
readonly RelatedId: 12;
|
|
16
|
+
};
|
|
17
|
+
export declare const Physics3DAbiCapability: {
|
|
18
|
+
readonly ContactHooks: number;
|
|
19
|
+
readonly PersistentWorlds: number;
|
|
20
|
+
readonly Queries: number;
|
|
21
|
+
readonly SelectiveReadback: number;
|
|
22
|
+
};
|
|
23
|
+
export declare const Physics3DAbiCommandKind: {
|
|
24
|
+
readonly SetGravity: 1;
|
|
25
|
+
readonly SetSolverConfig: 2;
|
|
26
|
+
readonly SetBody: 3;
|
|
27
|
+
readonly DestroyBody: 4;
|
|
28
|
+
readonly SetCollider: 5;
|
|
29
|
+
readonly DestroyCollider: 6;
|
|
30
|
+
readonly SetJoint: 7;
|
|
31
|
+
readonly DestroyJoint: 8;
|
|
32
|
+
readonly ApplyForce: 9;
|
|
33
|
+
readonly ApplyForceAtPoint: 10;
|
|
34
|
+
readonly ApplyLinearImpulse: 11;
|
|
35
|
+
readonly ApplyLinearImpulseAtPoint: 12;
|
|
36
|
+
readonly ApplyTorque: 13;
|
|
37
|
+
readonly WakeBody: 14;
|
|
38
|
+
};
|
|
39
|
+
export declare const Physics3DAbiShapeKind: {
|
|
40
|
+
readonly Sphere: 1;
|
|
41
|
+
readonly Aabb: 2;
|
|
42
|
+
readonly Box: 3;
|
|
43
|
+
readonly Capsule: 4;
|
|
44
|
+
readonly Cylinder: 5;
|
|
45
|
+
readonly Cone: 6;
|
|
46
|
+
readonly Convex: 7;
|
|
47
|
+
readonly TriangleMesh: 8;
|
|
48
|
+
readonly Heightfield: 9;
|
|
49
|
+
};
|
|
50
|
+
export declare const Physics3DAbiJointKind: {
|
|
51
|
+
readonly BallAndSocket: 1;
|
|
52
|
+
readonly Distance: 2;
|
|
53
|
+
readonly Fixed: 3;
|
|
54
|
+
readonly Hinge: 4;
|
|
55
|
+
readonly Slider: 5;
|
|
56
|
+
readonly ConeTwist: 6;
|
|
57
|
+
readonly Generic6Dof: 7;
|
|
58
|
+
};
|
|
59
|
+
export declare const Physics3DAbiBodyValueStride = 33;
|
|
60
|
+
export declare const Physics3DAbiContactIdStride = 4;
|
|
61
|
+
export declare const Physics3DAbiContactValueStride = 5;
|
|
62
|
+
export declare const Physics3DAbiContactPointValueStride = 10;
|
|
63
|
+
export declare const Physics3DAbiJointValueStride = 6;
|
|
64
|
+
export declare const Physics3DAbiQueryValueStride = 7;
|
|
65
|
+
export declare const Physics3DAbiBodyValue: {
|
|
66
|
+
readonly X: 0;
|
|
67
|
+
readonly Y: 1;
|
|
68
|
+
readonly Z: 2;
|
|
69
|
+
readonly OrientationX: 3;
|
|
70
|
+
readonly OrientationY: 4;
|
|
71
|
+
readonly OrientationZ: 5;
|
|
72
|
+
readonly OrientationW: 6;
|
|
73
|
+
readonly VelocityX: 7;
|
|
74
|
+
readonly VelocityY: 8;
|
|
75
|
+
readonly VelocityZ: 9;
|
|
76
|
+
readonly AngularVelocityX: 10;
|
|
77
|
+
readonly AngularVelocityY: 11;
|
|
78
|
+
readonly AngularVelocityZ: 12;
|
|
79
|
+
readonly ForceX: 13;
|
|
80
|
+
readonly ForceY: 14;
|
|
81
|
+
readonly ForceZ: 15;
|
|
82
|
+
readonly TorqueX: 16;
|
|
83
|
+
readonly TorqueY: 17;
|
|
84
|
+
readonly TorqueZ: 18;
|
|
85
|
+
readonly Mass: 19;
|
|
86
|
+
readonly InertiaXX: 20;
|
|
87
|
+
readonly InertiaYY: 21;
|
|
88
|
+
readonly InertiaZZ: 22;
|
|
89
|
+
readonly InertiaXY: 23;
|
|
90
|
+
readonly InertiaXZ: 24;
|
|
91
|
+
readonly InertiaYZ: 25;
|
|
92
|
+
readonly CenterX: 26;
|
|
93
|
+
readonly CenterY: 27;
|
|
94
|
+
readonly CenterZ: 28;
|
|
95
|
+
readonly LinearDamping: 29;
|
|
96
|
+
readonly AngularDamping: 30;
|
|
97
|
+
readonly GravityScale: 31;
|
|
98
|
+
readonly SleepTimer: 32;
|
|
99
|
+
};
|
|
100
|
+
export declare const Physics3DAbiContactId: {
|
|
101
|
+
readonly BodyA: 0;
|
|
102
|
+
readonly BodyB: 1;
|
|
103
|
+
readonly ColliderA: 2;
|
|
104
|
+
readonly ColliderB: 3;
|
|
105
|
+
};
|
|
106
|
+
export declare const Physics3DAbiContactValue: {
|
|
107
|
+
readonly NormalX: 0;
|
|
108
|
+
readonly NormalY: 1;
|
|
109
|
+
readonly NormalZ: 2;
|
|
110
|
+
readonly Friction: 3;
|
|
111
|
+
readonly Restitution: 4;
|
|
112
|
+
};
|
|
113
|
+
export declare const Physics3DAbiContactPointValue: {
|
|
114
|
+
readonly X: 0;
|
|
115
|
+
readonly Y: 1;
|
|
116
|
+
readonly Z: 2;
|
|
117
|
+
readonly Depth: 3;
|
|
118
|
+
readonly RelativeAX: 4;
|
|
119
|
+
readonly RelativeAY: 5;
|
|
120
|
+
readonly RelativeAZ: 6;
|
|
121
|
+
readonly RelativeBX: 7;
|
|
122
|
+
readonly RelativeBY: 8;
|
|
123
|
+
readonly RelativeBZ: 9;
|
|
124
|
+
};
|
|
125
|
+
export declare const Physics3DAbiJointValue: {
|
|
126
|
+
readonly ForceX: 0;
|
|
127
|
+
readonly ForceY: 1;
|
|
128
|
+
readonly ForceZ: 2;
|
|
129
|
+
readonly TorqueX: 3;
|
|
130
|
+
readonly TorqueY: 4;
|
|
131
|
+
readonly TorqueZ: 5;
|
|
132
|
+
};
|
|
133
|
+
export declare const Physics3DAbiQueryValue: {
|
|
134
|
+
readonly Fraction: 0;
|
|
135
|
+
readonly X: 1;
|
|
136
|
+
readonly Y: 2;
|
|
137
|
+
readonly Z: 3;
|
|
138
|
+
readonly NormalX: 4;
|
|
139
|
+
readonly NormalY: 5;
|
|
140
|
+
readonly NormalZ: 6;
|
|
141
|
+
};
|
|
142
|
+
export declare const Physics3DAbiCommandByteLength: {
|
|
143
|
+
readonly SetGravity: 40;
|
|
144
|
+
readonly SetSolverConfig: 96;
|
|
145
|
+
readonly SetBody: 288;
|
|
146
|
+
readonly DestroyBody: 16;
|
|
147
|
+
readonly SetColliderMinimum: 80;
|
|
148
|
+
readonly DestroyCollider: 16;
|
|
149
|
+
readonly SetJoint: 272;
|
|
150
|
+
readonly DestroyJoint: 16;
|
|
151
|
+
readonly BodyAction: 64;
|
|
152
|
+
readonly WakeBody: 16;
|
|
153
|
+
};
|
|
154
|
+
export declare const Physics3DAbiSetBodyPayloadOffset: {
|
|
155
|
+
readonly Flags: 0;
|
|
156
|
+
readonly Reserved: 4;
|
|
157
|
+
readonly Values: 8;
|
|
158
|
+
};
|
|
159
|
+
export declare const Physics3DAbiSetColliderPayloadOffset: {
|
|
160
|
+
readonly Flags: 0;
|
|
161
|
+
readonly CategoryBits: 4;
|
|
162
|
+
readonly MaskBits: 8;
|
|
163
|
+
readonly GroupIndex: 12;
|
|
164
|
+
readonly Density: 16;
|
|
165
|
+
readonly Friction: 24;
|
|
166
|
+
readonly Restitution: 32;
|
|
167
|
+
readonly Shape: 40;
|
|
168
|
+
};
|
|
169
|
+
export declare const Physics3DAbiSetJointPayloadOffset: {
|
|
170
|
+
readonly Kind: 0;
|
|
171
|
+
readonly BodyA: 4;
|
|
172
|
+
readonly BodyB: 8;
|
|
173
|
+
readonly Flags: 12;
|
|
174
|
+
readonly CommonValues: 16;
|
|
175
|
+
readonly KindValues: 144;
|
|
176
|
+
};
|
|
177
|
+
export declare const Physics3DAbiSetSolverConfigPayloadOffset: {
|
|
178
|
+
readonly Flags: 0;
|
|
179
|
+
readonly Substeps: 4;
|
|
180
|
+
readonly MaxCcdSubsteps: 8;
|
|
181
|
+
readonly MaxCcdRotationSubsteps: 12;
|
|
182
|
+
readonly VelocityIterations: 16;
|
|
183
|
+
readonly PositionIterations: 20;
|
|
184
|
+
readonly Reserved0: 24;
|
|
185
|
+
readonly Reserved1: 28;
|
|
186
|
+
readonly Values: 32;
|
|
187
|
+
};
|
|
188
|
+
export declare const Physics3DAbiShapeHeaderByteLength = 16;
|
|
189
|
+
export declare const Physics3DAbiShapeHeaderOffset: {
|
|
190
|
+
readonly Kind: 0;
|
|
191
|
+
readonly ScalarCount: 4;
|
|
192
|
+
readonly IntegerCount: 8;
|
|
193
|
+
readonly Version: 12;
|
|
194
|
+
readonly Scalars: 16;
|
|
195
|
+
};
|
|
196
|
+
export declare const Physics3DAbiBodyFlag: {
|
|
197
|
+
readonly TypeMask: 3;
|
|
198
|
+
readonly FixedRotation: number;
|
|
199
|
+
readonly Bullet: number;
|
|
200
|
+
readonly Sleeping: number;
|
|
201
|
+
readonly SleepEnabled: number;
|
|
202
|
+
};
|
|
203
|
+
export declare const Physics3DAbiContactFlag: {
|
|
204
|
+
readonly Enabled: number;
|
|
205
|
+
readonly Sensor: number;
|
|
206
|
+
readonly Touching: number;
|
|
207
|
+
};
|
|
208
|
+
export declare const Physics3DAbiJointFlag: {
|
|
209
|
+
readonly Broken: number;
|
|
210
|
+
};
|
|
211
|
+
export declare const Physics3DAbiBodyType: {
|
|
212
|
+
readonly Dynamic: 0;
|
|
213
|
+
readonly Kinematic: 1;
|
|
214
|
+
readonly Static: 2;
|
|
215
|
+
};
|
|
216
|
+
//# sourceMappingURL=physics3DAbiLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
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AO,MAAM,iCAAiC;;;;;;;CAOpC,CAAC;AAEX,eAAO,MAAM,wCAAwC;;;;;;;;;;CAU3C,CAAC;AAEX,eAAO,MAAM,iCAAiC,KAAK,CAAC;AAEpD,eAAO,MAAM,6BAA6B;;;;;;CAMhC,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;CAMvB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;CAExB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;CAIvB,CAAC"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
// Wire version for the command stream and backend surface. Increment when an existing numeric
|
|
2
|
+
// discriminant, field position, or meaning changes. Additive commands may retain the version because
|
|
3
|
+
// every record is length-delimited and an older backend reports Unknown/InvalidCommand at that record.
|
|
4
|
+
export const Physics3DAbiVersion = 1;
|
|
5
|
+
export const Physics3DAbiCommandMagic = 0x41443350;
|
|
6
|
+
export const Physics3DAbiCommandHeaderByteLength = 16;
|
|
7
|
+
export const Physics3DAbiCommandRecordHeaderByteLength = 16;
|
|
8
|
+
export const Physics3DAbiCommandHeaderOffset = {
|
|
9
|
+
Magic: 0,
|
|
10
|
+
Version: 4,
|
|
11
|
+
ByteLength: 8,
|
|
12
|
+
CommandCount: 12,
|
|
13
|
+
};
|
|
14
|
+
export const Physics3DAbiCommandRecordOffset = {
|
|
15
|
+
Kind: 0,
|
|
16
|
+
ByteLength: 4,
|
|
17
|
+
ObjectId: 8,
|
|
18
|
+
RelatedId: 12,
|
|
19
|
+
};
|
|
20
|
+
export const Physics3DAbiCapability = {
|
|
21
|
+
ContactHooks: 1 << 0,
|
|
22
|
+
PersistentWorlds: 1 << 1,
|
|
23
|
+
Queries: 1 << 2,
|
|
24
|
+
SelectiveReadback: 1 << 3,
|
|
25
|
+
};
|
|
26
|
+
export const Physics3DAbiCommandKind = {
|
|
27
|
+
SetGravity: 1,
|
|
28
|
+
SetSolverConfig: 2,
|
|
29
|
+
SetBody: 3,
|
|
30
|
+
DestroyBody: 4,
|
|
31
|
+
SetCollider: 5,
|
|
32
|
+
DestroyCollider: 6,
|
|
33
|
+
SetJoint: 7,
|
|
34
|
+
DestroyJoint: 8,
|
|
35
|
+
ApplyForce: 9,
|
|
36
|
+
ApplyForceAtPoint: 10,
|
|
37
|
+
ApplyLinearImpulse: 11,
|
|
38
|
+
ApplyLinearImpulseAtPoint: 12,
|
|
39
|
+
ApplyTorque: 13,
|
|
40
|
+
WakeBody: 14,
|
|
41
|
+
};
|
|
42
|
+
export const Physics3DAbiShapeKind = {
|
|
43
|
+
Sphere: 1,
|
|
44
|
+
Aabb: 2,
|
|
45
|
+
Box: 3,
|
|
46
|
+
Capsule: 4,
|
|
47
|
+
Cylinder: 5,
|
|
48
|
+
Cone: 6,
|
|
49
|
+
Convex: 7,
|
|
50
|
+
TriangleMesh: 8,
|
|
51
|
+
Heightfield: 9,
|
|
52
|
+
};
|
|
53
|
+
export const Physics3DAbiJointKind = {
|
|
54
|
+
BallAndSocket: 1,
|
|
55
|
+
Distance: 2,
|
|
56
|
+
Fixed: 3,
|
|
57
|
+
Hinge: 4,
|
|
58
|
+
Slider: 5,
|
|
59
|
+
ConeTwist: 6,
|
|
60
|
+
Generic6Dof: 7,
|
|
61
|
+
};
|
|
62
|
+
export const Physics3DAbiBodyValueStride = 33;
|
|
63
|
+
export const Physics3DAbiContactIdStride = 4;
|
|
64
|
+
export const Physics3DAbiContactValueStride = 5;
|
|
65
|
+
export const Physics3DAbiContactPointValueStride = 10;
|
|
66
|
+
export const Physics3DAbiJointValueStride = 6;
|
|
67
|
+
export const Physics3DAbiQueryValueStride = 7;
|
|
68
|
+
export const Physics3DAbiBodyValue = {
|
|
69
|
+
X: 0,
|
|
70
|
+
Y: 1,
|
|
71
|
+
Z: 2,
|
|
72
|
+
OrientationX: 3,
|
|
73
|
+
OrientationY: 4,
|
|
74
|
+
OrientationZ: 5,
|
|
75
|
+
OrientationW: 6,
|
|
76
|
+
VelocityX: 7,
|
|
77
|
+
VelocityY: 8,
|
|
78
|
+
VelocityZ: 9,
|
|
79
|
+
AngularVelocityX: 10,
|
|
80
|
+
AngularVelocityY: 11,
|
|
81
|
+
AngularVelocityZ: 12,
|
|
82
|
+
ForceX: 13,
|
|
83
|
+
ForceY: 14,
|
|
84
|
+
ForceZ: 15,
|
|
85
|
+
TorqueX: 16,
|
|
86
|
+
TorqueY: 17,
|
|
87
|
+
TorqueZ: 18,
|
|
88
|
+
Mass: 19,
|
|
89
|
+
InertiaXX: 20,
|
|
90
|
+
InertiaYY: 21,
|
|
91
|
+
InertiaZZ: 22,
|
|
92
|
+
InertiaXY: 23,
|
|
93
|
+
InertiaXZ: 24,
|
|
94
|
+
InertiaYZ: 25,
|
|
95
|
+
CenterX: 26,
|
|
96
|
+
CenterY: 27,
|
|
97
|
+
CenterZ: 28,
|
|
98
|
+
LinearDamping: 29,
|
|
99
|
+
AngularDamping: 30,
|
|
100
|
+
GravityScale: 31,
|
|
101
|
+
SleepTimer: 32,
|
|
102
|
+
};
|
|
103
|
+
export const Physics3DAbiContactId = {
|
|
104
|
+
BodyA: 0,
|
|
105
|
+
BodyB: 1,
|
|
106
|
+
ColliderA: 2,
|
|
107
|
+
ColliderB: 3,
|
|
108
|
+
};
|
|
109
|
+
export const Physics3DAbiContactValue = {
|
|
110
|
+
NormalX: 0,
|
|
111
|
+
NormalY: 1,
|
|
112
|
+
NormalZ: 2,
|
|
113
|
+
Friction: 3,
|
|
114
|
+
Restitution: 4,
|
|
115
|
+
};
|
|
116
|
+
export const Physics3DAbiContactPointValue = {
|
|
117
|
+
X: 0,
|
|
118
|
+
Y: 1,
|
|
119
|
+
Z: 2,
|
|
120
|
+
Depth: 3,
|
|
121
|
+
RelativeAX: 4,
|
|
122
|
+
RelativeAY: 5,
|
|
123
|
+
RelativeAZ: 6,
|
|
124
|
+
RelativeBX: 7,
|
|
125
|
+
RelativeBY: 8,
|
|
126
|
+
RelativeBZ: 9,
|
|
127
|
+
};
|
|
128
|
+
export const Physics3DAbiJointValue = {
|
|
129
|
+
ForceX: 0,
|
|
130
|
+
ForceY: 1,
|
|
131
|
+
ForceZ: 2,
|
|
132
|
+
TorqueX: 3,
|
|
133
|
+
TorqueY: 4,
|
|
134
|
+
TorqueZ: 5,
|
|
135
|
+
};
|
|
136
|
+
export const Physics3DAbiQueryValue = {
|
|
137
|
+
Fraction: 0,
|
|
138
|
+
X: 1,
|
|
139
|
+
Y: 2,
|
|
140
|
+
Z: 3,
|
|
141
|
+
NormalX: 4,
|
|
142
|
+
NormalY: 5,
|
|
143
|
+
NormalZ: 6,
|
|
144
|
+
};
|
|
145
|
+
// Command byte lengths include the 16-byte record header. Payload offsets are relative to the first
|
|
146
|
+
// payload byte. Variable collider records end after their aligned shape block.
|
|
147
|
+
export const Physics3DAbiCommandByteLength = {
|
|
148
|
+
SetGravity: 40,
|
|
149
|
+
SetSolverConfig: 96,
|
|
150
|
+
SetBody: 288,
|
|
151
|
+
DestroyBody: 16,
|
|
152
|
+
SetColliderMinimum: 80,
|
|
153
|
+
DestroyCollider: 16,
|
|
154
|
+
SetJoint: 272,
|
|
155
|
+
DestroyJoint: 16,
|
|
156
|
+
BodyAction: 64,
|
|
157
|
+
WakeBody: 16,
|
|
158
|
+
};
|
|
159
|
+
export const Physics3DAbiSetBodyPayloadOffset = {
|
|
160
|
+
Flags: 0,
|
|
161
|
+
Reserved: 4,
|
|
162
|
+
Values: 8,
|
|
163
|
+
};
|
|
164
|
+
export const Physics3DAbiSetColliderPayloadOffset = {
|
|
165
|
+
Flags: 0,
|
|
166
|
+
CategoryBits: 4,
|
|
167
|
+
MaskBits: 8,
|
|
168
|
+
GroupIndex: 12,
|
|
169
|
+
Density: 16,
|
|
170
|
+
Friction: 24,
|
|
171
|
+
Restitution: 32,
|
|
172
|
+
Shape: 40,
|
|
173
|
+
};
|
|
174
|
+
export const Physics3DAbiSetJointPayloadOffset = {
|
|
175
|
+
Kind: 0,
|
|
176
|
+
BodyA: 4,
|
|
177
|
+
BodyB: 8,
|
|
178
|
+
Flags: 12,
|
|
179
|
+
CommonValues: 16,
|
|
180
|
+
KindValues: 144,
|
|
181
|
+
};
|
|
182
|
+
export const Physics3DAbiSetSolverConfigPayloadOffset = {
|
|
183
|
+
Flags: 0,
|
|
184
|
+
Substeps: 4,
|
|
185
|
+
MaxCcdSubsteps: 8,
|
|
186
|
+
MaxCcdRotationSubsteps: 12,
|
|
187
|
+
VelocityIterations: 16,
|
|
188
|
+
PositionIterations: 20,
|
|
189
|
+
Reserved0: 24,
|
|
190
|
+
Reserved1: 28,
|
|
191
|
+
Values: 32,
|
|
192
|
+
};
|
|
193
|
+
export const Physics3DAbiShapeHeaderByteLength = 16;
|
|
194
|
+
export const Physics3DAbiShapeHeaderOffset = {
|
|
195
|
+
Kind: 0,
|
|
196
|
+
ScalarCount: 4,
|
|
197
|
+
IntegerCount: 8,
|
|
198
|
+
Version: 12,
|
|
199
|
+
Scalars: 16,
|
|
200
|
+
};
|
|
201
|
+
export const Physics3DAbiBodyFlag = {
|
|
202
|
+
TypeMask: 0b11,
|
|
203
|
+
FixedRotation: 1 << 2,
|
|
204
|
+
Bullet: 1 << 3,
|
|
205
|
+
Sleeping: 1 << 4,
|
|
206
|
+
SleepEnabled: 1 << 5,
|
|
207
|
+
};
|
|
208
|
+
export const Physics3DAbiContactFlag = {
|
|
209
|
+
Enabled: 1 << 0,
|
|
210
|
+
Sensor: 1 << 1,
|
|
211
|
+
Touching: 1 << 2,
|
|
212
|
+
};
|
|
213
|
+
export const Physics3DAbiJointFlag = {
|
|
214
|
+
Broken: 1 << 0,
|
|
215
|
+
};
|
|
216
|
+
export const Physics3DAbiBodyType = {
|
|
217
|
+
Dynamic: 0,
|
|
218
|
+
Kinematic: 1,
|
|
219
|
+
Static: 2,
|
|
220
|
+
};
|
|
221
|
+
//# sourceMappingURL=physics3DAbiLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"physics3DAbiLay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,MAAM,CAAC,MAAM,iCAAiC,GAAG,EAAE,CAAC;AAEpD,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,IAAI,EAAE,CAAC;IACP,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IACf,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;CACH,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,CAAC,IAAI,CAAC;IACrB,MAAM,EAAE,CAAC,IAAI,CAAC;IACd,QAAQ,EAAE,CAAC,IAAI,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,CAAC;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,MAAM,EAAE,CAAC,IAAI,CAAC;IACd,QAAQ,EAAE,CAAC,IAAI,CAAC;CACR,CAAC;AAEX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE,CAAC,IAAI,CAAC;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO,EAAE,CAAC;IACV,SAAS,EAAE,CAAC;IACZ,MAAM,EAAE,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CollisionBuiltInShape3D, Physics3DAbi, Physics3DAbiQueryBuffer, Physics3DAbiWorldHandle, Physics3DQueryFilter, SpatialAabb3D } from '@flighthq/types/contract';
|
|
2
|
+
export declare function queryPhysics3DAbiPoint(abi: Readonly<Physics3DAbi>, world: Physics3DAbiWorldHandle, x: number, y: number, z: number, out: Physics3DAbiQueryBuffer, filter?: Readonly<Physics3DQueryFilter> | null): boolean;
|
|
3
|
+
export declare function queryPhysics3DAbiRay(abi: Readonly<Physics3DAbi>, world: Physics3DAbiWorldHandle, originX: number, originY: number, originZ: number, directionX: number, directionY: number, directionZ: number, out: Physics3DAbiQueryBuffer, maxFraction?: number, filter?: Readonly<Physics3DQueryFilter> | null): boolean;
|
|
4
|
+
export declare function queryPhysics3DAbiRayClosest(abi: Readonly<Physics3DAbi>, world: Physics3DAbiWorldHandle, originX: number, originY: number, originZ: number, directionX: number, directionY: number, directionZ: number, out: Physics3DAbiQueryBuffer, maxFraction?: number, filter?: Readonly<Physics3DQueryFilter> | null): boolean;
|
|
5
|
+
export declare function queryPhysics3DAbiRegion(abi: Readonly<Physics3DAbi>, world: Physics3DAbiWorldHandle, region: Readonly<SpatialAabb3D>, out: Physics3DAbiQueryBuffer, filter?: Readonly<Physics3DQueryFilter> | null): boolean;
|
|
6
|
+
export declare function queryPhysics3DAbiShapeCast(abi: Readonly<Physics3DAbi>, world: Physics3DAbiWorldHandle, shape: Readonly<CollisionBuiltInShape3D>, dx: number, dy: number, dz: number, out: Physics3DAbiQueryBuffer, maxFraction?: number, filter?: Readonly<Physics3DQueryFilter> | null): boolean;
|
|
7
|
+
//# sourceMappingURL=physics3DAbiQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"physics3DAbiQuery.d.ts","sourceRoot":"","sources":["../src/physics3DAbiQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,YAAY,EACZ,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACd,MAAM,0BAA0B,CAAC;AAElC,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC3B,KAAK,EAAE,uBAAuB,EAC9B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,uBAAuB,EAC5B,MAAM,GAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,IAAW,GACnD,OAAO,CAET;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC3B,KAAK,EAAE,uBAAuB,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function queryPhysics3DAbiPoint(abi, world, x, y, z, out, filter = null) {
|
|
2
|
+
return abi.queryPoint(world, x, y, z, filter, out);
|
|
3
|
+
}
|
|
4
|
+
export function queryPhysics3DAbiRay(abi, world, originX, originY, originZ, directionX, directionY, directionZ, out, maxFraction = Number.POSITIVE_INFINITY, filter = null) {
|
|
5
|
+
return abi.queryRay(world, originX, originY, originZ, directionX, directionY, directionZ, maxFraction, false, filter, out);
|
|
6
|
+
}
|
|
7
|
+
export function queryPhysics3DAbiRayClosest(abi, world, originX, originY, originZ, directionX, directionY, directionZ, out, maxFraction = Number.POSITIVE_INFINITY, filter = null) {
|
|
8
|
+
return abi.queryRay(world, originX, originY, originZ, directionX, directionY, directionZ, maxFraction, true, filter, out);
|
|
9
|
+
}
|
|
10
|
+
export function queryPhysics3DAbiRegion(abi, world, region, out, filter = null) {
|
|
11
|
+
return abi.queryRegion(world, region, filter, out);
|
|
12
|
+
}
|
|
13
|
+
export function queryPhysics3DAbiShapeCast(abi, world, shape, dx, dy, dz, out, maxFraction = 1, filter = null) {
|
|
14
|
+
return abi.queryShapeCast(world, shape, dx, dy, dz, maxFraction, filter, out);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=physics3DAbiQuery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"physics3DAbiQuery.js","sourceRoot":"","sources":["../src/physics3DAbiQuery.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,sBAAsB,CACpC,GAA2B,EAC3B,KAA8B,EAC9B,CAAS,EACT,CAAS,EACT,CAAS,EACT,GAA4B,EAC5B,SAAgD,IAAI;IAEpD,OAAO,GAAG,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,GAA2B,EAC3B,KAA8B,EAC9B,OAAe,EACf,OAAe,EACf,OAAe,EACf,UAAkB,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