Physical¶
Contents
PhysicalConditions¶

-
class
serge.physical.
PhysicalConditions
(mass=0.0, radius=0.0, velocity=(0.0, 0.0), force=(0.0, 0.0), width=0.0, height=0.0, fixed=False, friction=0.1, elasticity=1.0, group=0, layers=-1, update_angle=False, visual_size=False)[source]¶ Bases:
serge.serialize.Serializable
Represents physical parameters of an object
This includes the mass, velocity, force applied, acceleration and the physical dimensions.
PhysicalBody¶

-
class
serge.physical.
PhysicalBody
(mass, **kw)[source]¶ Bases:
serge.physical.PhysicalConditions
Physical conditions for an infinitesimal object
The object has no dimensions (shape) but still has mass etc.