Creates a new CircleShape.
![]() |
Making changes to a World is not allowed inside of the beginContact, endContact, preSolve, and postSolve callback functions, as BOX2D locks the world during these callbacks. |
![]() |
Script Example Missing
love.physics.newCircleShape needs a script example, help out by writing one. |
Available since LÖVE 0.8.0 |
These variants are not supported in earlier versions. |
shape = love.physics.newCircleShape( radius )
number radius
CircleShape shape
shape = love.physics.newCircleShape( x, y, radius )
number x
number y
number radius
CircleShape shape
Removed in LÖVE 0.8.0 |
This variant is not supported in that and later versions. |
shape = love.physics.newCircleShape( body, x, y, radius )
Body body
number x
number y
number radius
CircleShape shape