Physics2D/RigidBody2D: Fix AddForce application point for Global coordinate system

This commit is contained in:
Lynix
2016-11-18 18:12:48 +01:00
parent e4f507e67f
commit f34d390216

View File

@@ -73,7 +73,7 @@ namespace Nz
switch (coordSys)
{
case CoordSys_Global:
cpBodyApplyForceAtWorldPoint(m_handle, cpv(force.x, force.y), cpv(force.x, force.y));
cpBodyApplyForceAtWorldPoint(m_handle, cpv(force.x, force.y), cpv(point.x, point.y));
break;
case CoordSys_Local: