@hytopia.com/server-protocol 1.0.69 → 1.0.71
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/package.json +1 -1
- package/schemas/RigidBody.ts +2 -2
package/package.json
CHANGED
package/schemas/RigidBody.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type { QuaternionSchema } from './Quaternion';
|
|
|
10
10
|
|
|
11
11
|
export type RigidBodySchema = {
|
|
12
12
|
ad?: number; // angular dampening
|
|
13
|
-
|
|
13
|
+
ap?: { // additional mass properties
|
|
14
14
|
am: number; // additional mass
|
|
15
15
|
cm: VectorSchema; // center of mass
|
|
16
16
|
pf: QuaternionSchema; // principal angular inertia local frame
|
|
@@ -40,7 +40,7 @@ export const rigidBodySchema: JSONSchemaType<RigidBodySchema> = {
|
|
|
40
40
|
type: 'object',
|
|
41
41
|
properties: {
|
|
42
42
|
ad: { type: 'number', nullable: true },
|
|
43
|
-
|
|
43
|
+
ap: {
|
|
44
44
|
type: 'object',
|
|
45
45
|
properties: {
|
|
46
46
|
am: { type: 'number' },
|