q5play
    Preparing search index...

    Interface b2BodyDef

    interface b2BodyDef {
        allowFastRotation: boolean;
        angularDamping: number;
        angularVelocity: number;
        enableSleep: boolean;
        gravityScale: number;
        internalValue: number;
        isAwake: boolean;
        isBullet: boolean;
        isEnabled: boolean;
        linearDamping: number;
        linearVelocity: b2Vec2;
        motionLocks: b2MotionLocks;
        position: b2Vec2;
        rotation: b2Rot;
        sleepThreshold: number;
        type: b2BodyType;
        clone(): this;
        delete(): void;
        deleteLater(): this;
        isAliasOf(other: ClassHandle): boolean;
        isDeleted(): boolean;
        [key: number]: () => void;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: number]: () => void
    Index

    Properties

    allowFastRotation: boolean
    angularDamping: number
    angularVelocity: number
    enableSleep: boolean
    gravityScale: number
    internalValue: number
    isAwake: boolean
    isBullet: boolean
    isEnabled: boolean
    linearDamping: number
    linearVelocity: b2Vec2
    motionLocks: b2MotionLocks
    position: b2Vec2
    rotation: b2Rot
    sleepThreshold: number

    Methods