Pixel Dust Game Engine  v0.9.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Functions
Physics

Things used for handling physics simulation. More...

Functions

struct SpriteCollideInfo PDG_SUBCLASS_OF (SpriteAnimateInfo)
 

Detailed Description

Things used for handling physics simulation.

Function Documentation

struct SpriteCollideInfo pdg::PDG_SUBCLASS_OF ( SpriteAnimateInfo  )
read

Event Data for eventType_SpriteCollide.

the other sprite in the collision (cpBody/Shape B in the Chipmunk Arbiter)

which sprite is doing the animation

the impulse (instantaneous force) applied to resolve the collision

the force of the collision

the energy lost in the collision