PackageBox2D.Collision.Shapes
Classpublic class b2CircleDef
Inheritanceb2CircleDef Inheritance b2ShapeDef

This structure is used to build circle shapes.



Public Properties
 PropertyDefined by
 Inheriteddensity : Number = 0.0
The shape's density, usually in kg/m^2.
b2ShapeDef
 Inheritedfilter : b2FilterData
Contact filtering data.
b2ShapeDef
 Inheritedfriction : Number = 0.2
The shape's friction coefficient, usually in the range [0,1].
b2ShapeDef
 InheritedisSensor : Boolean = false
A sensor shape collects contact information but never generates a collision response.
b2ShapeDef
  localPosition : b2Vec2
b2CircleDef
  radius : Number
b2CircleDef
 Inheritedrestitution : Number = 0.0
The shape's restitution (elasticity) usually in the range [0,1].
b2ShapeDef
 Inheritedtype : int
Holds the shape type for down-casting.
b2ShapeDef
 InheriteduserData : * = null
Use this to store application specify shape data.
b2ShapeDef
Public Methods
 MethodDefined by
  
b2CircleDef
Property detail
localPositionproperty
public var localPosition:b2Vec2
radiusproperty 
public var radius:Number
Constructor detail
b2CircleDef()constructor
public function b2CircleDef()