2020-04-30 20:20:48 +00:00
|
|
|
void InitPhysics(void)
|
2021-01-28 22:42:11 +00:00
|
|
|
void UpdatePhysics(void)
|
|
|
|
void ResetPhysics(void)
|
|
|
|
void ClosePhysics(void)
|
2020-04-30 20:20:48 +00:00
|
|
|
void SetPhysicsTimeStep(double delta)
|
|
|
|
void SetPhysicsGravity(float x, float y)
|
|
|
|
PhysicsBody CreatePhysicsBodyCircle(Vector2 pos, float radius, float density)
|
|
|
|
PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float height, float density)
|
|
|
|
PhysicsBody CreatePhysicsBodyPolygon(Vector2 pos, float radius, int sides, float density)
|
2021-01-28 22:42:11 +00:00
|
|
|
void DestroyPhysicsBody(PhysicsBody body)
|
2020-04-30 20:20:48 +00:00
|
|
|
void PhysicsAddForce(PhysicsBody body, Vector2 force)
|
|
|
|
void PhysicsAddTorque(PhysicsBody body, float amount)
|
|
|
|
void PhysicsShatter(PhysicsBody body, Vector2 position, float force)
|
2021-01-28 22:42:11 +00:00
|
|
|
void SetPhysicsBodyRotation(PhysicsBody body, float radians)
|
2020-04-30 20:20:48 +00:00
|
|
|
PhysicsBody GetPhysicsBody(int index)
|
2021-01-28 22:42:11 +00:00
|
|
|
int GetPhysicsBodiesCount(void)
|
2020-04-30 20:20:48 +00:00
|
|
|
int GetPhysicsShapeType(int index)
|
|
|
|
int GetPhysicsShapeVerticesCount(int index)
|
2021-05-01 18:21:00 +00:00
|
|
|
Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex)
|