Merge pull request 'Update leenkx/Sources/leenkx/logicnode/ApplyForceNode.hx' (#9) from Onek8/LNXSDK:main into main
Reviewed-on: #9
This commit is contained in:
		| @ -21,7 +21,7 @@ class ApplyForceNode extends LogicNode { | ||||
|  | ||||
| #if lnx_physics | ||||
| 		var rb: RigidBody = object.getTrait(RigidBody); | ||||
|  | ||||
| 		if (rb == null) return; | ||||
| 		!local ? rb.applyForce(force) : rb.applyForce(object.transform.worldVecToOrientation(force)); | ||||
| #end | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user