Click or drag to resize

Fixture Properties

The Fixture type exposes the following members.

Properties
  NameDescription
Public propertyBody
Get the parent body of this fixture. This is null if the fixture is not attached.
Public propertyCollidesWith
Defaults to Category.All The collision mask bits. This states the categories that this fixture would accept for collision.
Public propertyCollisionCategories
The collision categories this fixture is a part of. Defaults to Category.Cat1
Public propertyCollisionGroup
Defaults to 0 Collision groups allow a certain group of objects to never collide (negative) or always collide (positive). Zero means no collision group. Non-zero group filtering always wins against the mask bits.
Public propertyFriction
Set the coefficient of friction. This will _not_ change the friction of existing contacts.
Public propertyIsSensor
Gets or sets a value indicating whether this fixture is a sensor.
Public propertyProxies
Public propertyProxyCount
Public propertyRestitution
Set the coefficient of restitution. This will not change the restitution of existing contacts.
Public propertyShape
Get the child Shape.
Top
See Also