Physics ClassDelta Engine Documentation
Main physics class used for performing simulations and creating bodies and shapes. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Entities Entity
    DeltaEngine.Physics2D Physics
      DeltaEngine.Physics2D.Farseer FarseerPhysics

Namespace: DeltaEngine.Physics2D
Assembly: DeltaEngine.Physics2D (in DeltaEngine.Physics2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract class Physics : Entity, 
	RapidUpdateable

The Physics type exposes the following members.

Constructors

  NameDescription
Protected methodPhysics
Initializes a new instance of the Physics class
Top
Methods

  NameDescription
Public methodAdd T  (Inherited from Entity.)
Protected methodAddBody
Public methodAddTag (Inherited from Entity.)
Public methodClearTags (Inherited from Entity.)
Public methodContains T  (Inherited from Entity.)
Public methodContainsBehavior T  (Inherited from Entity.)
Public methodContainsTag (Inherited from Entity.)
Public methodCreateAngleJoint
Public methodCreateCircle
Public methodCreateEdge( Vector2D )
Public methodCreateEdge(Vector2D, Vector2D)
Public methodCreateFixedAngleJoint
Public methodCreateLineJoint
Public methodCreatePolygon
Public methodCreateRectangle
Public methodCreateRevoluteJoint
Protected methodDeactivate (Inherited from Entity.)
Public methodDispose (Inherited from Entity.)
Public methodGet T 
Gets a specific component, derived classes can return faster cached values (e.g. Entity2D) View code on GitHub
(Inherited from Entity.)
Protected methodGetActiveBehaviors (Inherited from Entity.)
Protected methodGetComponentsForSaving (Inherited from Entity.)
Public methodGetOrDefault T  (Inherited from Entity.)
Public methodGetTags (Inherited from Entity.)
Public methodRapidUpdate
Public methodRemove T  (Inherited from Entity.)
Public methodRemoveTag (Inherited from Entity.)
Public methodSet (Inherited from Entity.)
Public methodSetComponents (Inherited from Entity.)
Protected methodSimulate
Public methodStart T  (Inherited from Entity.)
Public methodStop T  (Inherited from Entity.)
Public methodToString (Inherited from Entity.)
Top
Fields

  NameDescription
Protected fieldcomponents (Inherited from Entity.)
Top
Properties

  NameDescription
Public propertyBodies
Public propertyGravity
Public propertyIsActive (Inherited from Entity.)
Public propertyIsPauseable (Inherited from Entity.)
Public propertyNumberOfComponents (Inherited from Entity.)
Public propertyUpdatePriority (Inherited from Entity.)
Top
See Also