Interface: PhysicsPolygonConfig
Configuration for a physics polygon.
Hierarchy
-
↳
PhysicsPolygonConfig
Properties
density
• Optional
density: number
Inherited from
friction
• Optional
friction: number
Inherited from
position
• position: IPosition
Inherited from
restitution
• Optional
restitution: number
Inherited from
PhysicsObjectConfig.restitution
system
• system: PhysicsSystem
Inherited from
triangulate
• triangulate: boolean
type
• type: BodyType
Inherited from
vertices
• vertices: number
[]