Skip to content

Implement Global Sets #56

@freezy

Description

@freezy

In Visual Pinball, under Preferences / Configure (Optional) Global Physics Sets, you can define up to nine "Sets", which are flipper and playfield settings that will override those defined in the table. Sets can also be imported and exported.

In the code, these show up as override* properties of the data object. For example, the FlipperData has those props:

public overrideMass?: number;
public overrideStrength?: number;
public overrideElasticity?: number;
public overrideElasticityFalloff?: number;
public overrideFriction?: number;
public overrideReturnStrength?: number;
public overrideCoilRampUp?: number;
public overrideTorqueDamping?: number;
public overrideTorqueDampingAngle?: number;
public overrideScatterAngle?: number;
public overridePhysics?: number;

Those would be set from the global sets. Currently they are undefined.

This is probably low priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    boringSome VP internals that need to be ported (or not)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions