Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Function
love.physics.newCircleShape( body, x, y, radius )
Create a new CircleShape at (x,y) in local coordinates.
Synopsis
shape = love.physics.newCircleShape( body, x, y, radius )
Parameters
body
Body
The body to attach the shape to.
x
number
The x offset of the circle.
y
number
The y offset of the circle.
radius
number
The radius of the circle.
Returns
shape
CircleShape
A new
CircleShape
.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question