mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Adds params to IBodyOptions interface
Source: https://github.com/schteppe/cannon.js/blob/master/src/objects/Body.js#L17-L35
This commit is contained in:
Vendored
+9
@@ -454,6 +454,15 @@ declare module CANNON {
|
||||
type?: number;
|
||||
linearDamping?: number;
|
||||
angularDamping?: number;
|
||||
allowSleep?: boolean;
|
||||
sleepSpeedLimit?: number;
|
||||
sleepTimeLimit?: number;
|
||||
collisionFilterGroup?: number;
|
||||
collisionFilterMask?: number;
|
||||
fixedRotation?: boolean;
|
||||
linearFactor?: Vec3;
|
||||
angularFactor?: Vec3;
|
||||
shape?: Shape;
|
||||
}
|
||||
|
||||
export class Body extends EventTarget {
|
||||
|
||||
Reference in New Issue
Block a user