addCircleCollider

API -

return function()
    local app = getApp();
    local myObject = app.createGameObject();
    wait(3);
    myObject.physics.hasRigidBody = true;
    myObject.physics.addCircleCollider();
    keepAlive();
end

Last updated