For the complete documentation index, see llms.txt. This page is also available as Markdown.

addCircleCollider

API -

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

Last updated