My sprite object(smaller) is moving on another sprite(bigger) object so how to detect that that smaller object should always be in the boundries of bigger object?
I have added rigidbody2d on smaller object and the added collider on boundries but now there is jitter in the movement of smaller object…
Any suggestions or reasons why jittering?