@jdultra/threedtiles 14.0.23 → 14.0.25

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.
@@ -105,14 +105,48 @@ export class Physics {
105
105
  bodyId: any;
106
106
  }): void;
107
107
  /**
108
- * applyForce({ bodyId, force, worldPoint?, wake = true, impulse = false })
108
+ * applyForce({ bodyId, force, worldPoint?, wake = true, impulse = false, resetForces = false, resetTorques = false })
109
109
  */
110
- applyForce({ bodyId, force, worldPoint, wake, impulse }: {
110
+ applyForce({ bodyId, force, worldPoint, wake, impulse, resetForces, resetTorques }: {
111
111
  bodyId: any;
112
112
  force: any;
113
113
  worldPoint: any;
114
114
  wake?: boolean | undefined;
115
115
  impulse?: boolean | undefined;
116
+ resetForces?: boolean | undefined;
117
+ resetTorques?: boolean | undefined;
118
+ }): void;
119
+ /**
120
+ * applyForces({ bodyId, forces: [[x,y,z],...], worldPoints?: [ [x,y,z]|null ], wake=true, impulse=false, resetForces=false, resetTorques=false })
121
+ */
122
+ applyForces({ bodyId, forces, worldPoints, wake, impulse, resetForces, resetTorques }: {
123
+ bodyId: any;
124
+ forces: any;
125
+ worldPoints: any;
126
+ wake?: boolean | undefined;
127
+ impulse?: boolean | undefined;
128
+ resetForces?: boolean | undefined;
129
+ resetTorques?: boolean | undefined;
130
+ }): void;
131
+ /**
132
+ * applyTorque({ bodyId, torque, wake = true, impulse = false, resetTorques = false })
133
+ */
134
+ applyTorque({ bodyId, torque, wake, impulse, resetTorques }: {
135
+ bodyId: any;
136
+ torque: any;
137
+ wake?: boolean | undefined;
138
+ impulse?: boolean | undefined;
139
+ resetTorques?: boolean | undefined;
140
+ }): void;
141
+ /**
142
+ * applyTorques({ bodyId, torques: [[x,y,z],...], wake=true, impulse=false, resetTorques=false })
143
+ */
144
+ applyTorques({ bodyId, torques, wake, impulse, resetTorques }: {
145
+ bodyId: any;
146
+ torques: any;
147
+ wake?: boolean | undefined;
148
+ impulse?: boolean | undefined;
149
+ resetTorques?: boolean | undefined;
116
150
  }): void;
117
151
  /**
118
152
  * setGravity(gravityOptions)