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

addBoxCollider

API -

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

Last updated