Physics2D
Polycode::PhysicsScreen Member List
This is the complete list of members for Polycode::PhysicsScreen, including all inherited members.
addCollisionChild(ScreenEntity *newEntity, int entType)Polycode::PhysicsScreen
addPhysicsChild(ScreenEntity *newEntity, int entType, bool isStatic, Number friction=0.1, Number density=1, Number restitution=0, bool isSensor=false, bool fixedRotation=false)Polycode::PhysicsScreen
applyForce(ScreenEntity *ent, Number fx, Number fy)Polycode::PhysicsScreen
applyImpulse(ScreenEntity *ent, Number fx, Number fy)Polycode::PhysicsScreen
createDistanceJoint(ScreenEntity *ent1, ScreenEntity *ent2, bool collideConnected)Polycode::PhysicsScreen
createPrismaticJoint(ScreenEntity *ent1, ScreenEntity *ent2, Vector2 worldAxis, Number ax, Number ay, bool collideConnected=false, Number lowerTranslation=0, Number upperTranslation=0, bool enableLimit=false, Number motorSpeed=0, Number motorForce=0, bool motorEnabled=false)Polycode::PhysicsScreen
createRevoluteJoint(ScreenEntity *ent1, ScreenEntity *ent2, Number ax, Number ay, bool collideConnected=false, bool enableLimit=false, Number lowerLimit=0, Number upperLimit=0, bool motorEnabled=false, Number motorSpeed=0, Number maxTorque=0)Polycode::PhysicsScreen
destroyJoint(PhysicsJoint *joint)Polycode::PhysicsScreen
getEntityAtPosition(Number x, Number y)Polycode::PhysicsScreen
getPhysicsByScreenEntity(ScreenEntity *ent)Polycode::PhysicsScreen
getVelocity(ScreenEntity *ent)Polycode::PhysicsScreen
PhysicsScreen(Number worldScale, Number freq)Polycode::PhysicsScreen
PhysicsScreen()Polycode::PhysicsScreen
removePhysicsChild(ScreenEntity *entityToRemove)Polycode::PhysicsScreen
setGravity(Vector2 newGravity)Polycode::PhysicsScreen
setSpin(ScreenEntity *ent, Number spin)Polycode::PhysicsScreen
setTransform(ScreenEntity *ent, Vector2 pos, Number angle)Polycode::PhysicsScreen
setVelocity(ScreenEntity *ent, Number fx, Number fy)Polycode::PhysicsScreen
setVelocityX(ScreenEntity *ent, Number fx)Polycode::PhysicsScreen
setVelocityY(ScreenEntity *ent, Number fy)Polycode::PhysicsScreen
testEntityAtPosition(ScreenEntity *ent, Number x, Number y)Polycode::PhysicsScreen
testEntityCollision(ScreenEntity *ent1, ScreenEntity *ent2)Polycode::PhysicsScreen
wakeUp(ScreenEntity *ent)Polycode::PhysicsScreen