babylon.quarks - v1.0.0
    Preparing search index...

    Interface GravityForceJSON

    The JSON of an attraction to a point: a GravityForce.

    interface GravityForceJSON {
        center?: Vector3ArrayJSON;
        magnitude?: number;
        type: string;
    }

    Hierarchy (View Summary)

    Index

    The point.

    magnitude?: number

    The strength; 0 when absent.

    type: string

    The behavior's type, a key of BehaviorTypes.