AbstractBody

class in Eddie

Description

Represents an NPC body where the parameters can be attached to either a rigidbody or a simulation.

Virtual Properties

Property Description
Size The size of the body.
Velocity The velocity of the body.
Position The position of the body.

Abstract Properties

Property Description
Drag Liear drag of the body.
Gravity The gravity scale of the body.

Virtual Methods

Method Description
GetWidth Returns the width of the body.
GetHeight Returns the height of the body.

Abstract Methods

Method Description
GetDeltaTime Return delta time.
addForce Add force to the body.