Variable PhysicsConst

Physics: {
    createBoxBody: (
        inst: Instance,
        mass: number,
        material?: Material,
        offset?: XYZ,
    ) => Body;
    createPlaneBody: (
        inst: Instance,
        mass: number,
        material?: Material,
    ) => Body;
    createSphereBody: (
        inst: Instance,
        mass: number,
        material?: Material,
        offset?: XYZ,
    ) => Body;
} = ...

Type declaration

  • createBoxBody: (inst: Instance, mass: number, material?: Material, offset?: XYZ) => Body
  • createPlaneBody: (inst: Instance, mass: number, material?: Material) => Body
  • createSphereBody: (inst: Instance, mass: number, material?: Material, offset?: XYZ) => Body