Circle

Returns a Circle collision shape object

new virtuosity.collisionManager.shape.Circle(x, y, r);


Parameter Type Description
x Number x position of the Circle
y Number y position of the Circle
r Number radius of the Circle

Methods

Properties


Methods

position

Sets the position of the box

virtuosity.collisionManager.shape.Circle.position(x, y);


Parameter Type Description
x Number x position of the Circle
y Number y position of the Circle

scaling

Sets the scaling of the box

virtuosity.collisionManager.shape.Circle.scaling(r);


Parameter Type Description
r Number radius of the Circle


Properties

x

Number

x position of the Circle

virtuosity.collisionManager.shape.Circle.x

y

Number

y position of the Circle

virtuosity.collisionManager.shape.Circle.y

r

Number

radius of the Circle

virtuosity.collisionManager.shape.Circle.r