Interface StaticObjectConfig

interface StaticObjectConfig {
    id: string;
    options: {
        angle: number;
        density: number;
        friction: number;
        restitution: number;
    };
    shape: DropperTextureShape;
    size: number;
    size2?: number;
    x: number;
    y: number;
}

Properties

id: string
options: {
    angle: number;
    density: number;
    friction: number;
    restitution: number;
}

Type declaration

  • angle: number
  • density: number
  • friction: number
  • restitution: number
size: number
size2?: number
x: number
y: number