Hot answers tagged

2 votes

How do I change the gravity for just one object

You can set the gravityScale parameter on your Rigidbody2D component to zero to ignore the built-in gravity. Then you can add a <...
1 vote
Accepted

Changing GameObject Position with the new InputSystem Unity 2D

I'm not sure I understand your question 100%, but for the target of attacking left, you can simply treat the Player as a whole and flip it horizontally. In 2D games ...
  • 1,936

Only top scored, non community-wiki answers of a minimum length are eligible