export const rigidBody = {
    fields: [
        {
            name: 'type',
            type: 'select',
            options: ['dynamic', 'static'],
        },
        {
            name: 'mass',
            type: 'number',
        },
        {
            name: 'gravityScale',
            type: 'number',
        },
        {
            name: 'linearDamping',
            type: 'number',
        },
        {
            name: 'disabled',
            type: 'boolean',
        },
    ],
    getInitialState: () => ({
        type: 'static',
        mass: 1,
        gravityScale: 0,
        linearDamping: 0,
        disabled: false,
    }),
};
