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
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ namespace Nz
switch (coordSys) switch (coordSys)
{ {
case CoordSys_Global: 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; break;
case CoordSys_Local: case CoordSys_Local: