@hytopia.com/server-protocol 1.0.44 → 1.0.45
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 -0
package/package.json
CHANGED
package/schemas/RigidBody.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type RigidBodySchema = {
|
|
|
20
20
|
en?: boolean; // enabled
|
|
21
21
|
er?: VectorBooleanSchema; // enabled rotations
|
|
22
22
|
et?: VectorBooleanSchema; // enabled translations
|
|
23
|
+
fs?: boolean; // full state
|
|
23
24
|
g?: number; // gravity scaling
|
|
24
25
|
ld?: number; // linear damping
|
|
25
26
|
lv?: VectorSchema; // linear velocity
|
|
@@ -43,6 +44,7 @@ export const rigidBodySchema: JSONSchemaType<RigidBodySchema> = {
|
|
|
43
44
|
en: { type: 'boolean', nullable: true },
|
|
44
45
|
er: { ...vectorBooleanSchema, nullable: true },
|
|
45
46
|
et: { ...vectorBooleanSchema, nullable: true },
|
|
47
|
+
fs: { type: 'boolean', nullable: true },
|
|
46
48
|
g: { type: 'number', nullable: true },
|
|
47
49
|
ld: { type: 'number', nullable: true },
|
|
48
50
|
lv: { ...vectorSchema, nullable: true },
|