PackageBox2D.Collision.Shapes
Classpublic class b2CircleDef
Inheritanceb2CircleDef Inheritance b2ShapeDef
Sourceb2CircleDef.as

This structure is used to build circle shapes.

See also

b2CircleShape


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
The circle center in local coordinages
b2CircleDef
  radius : Number
The circle radius
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

The circle center in local coordinages

radiusproperty 
public var radius:Number

The circle radius

Constructor detail
b2CircleDef()constructor
public function b2CircleDef()