Skip to content

Conversation

kan6868
Copy link
Contributor

@kan6868 kan6868 commented Jun 23, 2025

Add Circle shape with 2 parameters x, y. It works fine with radius.

    physics.addBody(object, "dynamic", 
        { radius = 32 },
        { box = { halfWidth = 24, halfHeight = 50, x = 2, y = -50 } },
        { circle = { radius = 52, x = 0, y = -140 } }
    );

@kan6868 kan6868 requested a review from Shchvova as a code owner June 23, 2025 07:09
@Shchvova Shchvova merged commit 5c8ad0a into coronalabs:master Jul 6, 2025
1 check passed
@kan6868 kan6868 deleted the adding-offset-circle-fixtures branch July 7, 2025 06:16
zero-meta pushed a commit to zero-meta/corona that referenced this pull request Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants