Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Why doesn't rigidbody2D.AddForce(-5, 2); work?

$
0
0
Assets/Scripts/2DRigid/RigidSwordEnemy.js(54,37): BCE0017: The best overload for the method 'UnityEngine.Rigidbody2D.AddForce(UnityEngine.Vector2)' is not compatible with the argument list '(int, int)'.

Viewing all articles
Browse latest Browse all 171066

Trending Articles