Namespace Fantas.Physics
Classes
- CircleBody
Circular body
- ContactHandler
Contact handler object that contains contact or collision action events
- ContactInfo
Contains the information of a contact/collision between two PhysicsBodys.
- Edge
Represent an physical edge for collision with bodies
- NodeExtensions
Convenient methods to setup physics body to a Node
- PhysicsBody
Physics Body simulation object
- PhysicsJoint
Base joint type
- PhysicsJointFixed
A PhysicsJoint that rigidly connects two physics bodies.
- PhysicsJointLimit
A PhysicsJoint that connects two physics bodies as if by a rope.
- PhysicsJointPin
A PhysicsJointPin pins two bodies to a common point.
- PhysicsJointSliding
A PhysicsJointSliding connects two physics bodies as if by a sliding rod.
- PhysicsJointSpring
A PhysicsJointSpring connects two physics bodies as if by a spring.
- PhysicsWorld
The PhysicsWorld provides:
Global values such as Gravity. Connecting PhysicsBodies with the AddJoint(PhysicsJoint) method. Raising events when PhysicsBody begin or end contact with each other(DidBeginContact, DidEndContact).
- PolygonBody
Polygonal body
- PolygonEdge
Polygonal physical edge
- RaycastHit
Represent a result of a Raycast query
- RectangleBody
Rectangle body
- RectangleEdge
Rectangle physical edge loop
Delegates
- ContactEvent
Called when two physics body collide The collisionInfo parameter contains information about the collision