Physics2D/RigidBody2D: Fix AddForce application point for Global coordinate system
This commit is contained in:
parent
e4f507e67f
commit
f34d390216
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue