UnityCommunity/UnityLibrary

Add 2D Follow Rigidbody Script

hasanbayatme opened this issue · 2 comments

Hi.

Same as #9 (Add 2D Follow Script) but uses Rigidbody2D instead of direct manipulation to transform.position.

Also now we should use FixedUpdate instead of Update.

So we should use rigidbody2D.MovePosition (); instead of transform.position.

Make sure to add all features from #9.

Thanks.

Added the feature in 3411934 , might need to move to a more specific folder in the future?

Good job, the folder is nice fit, but we can move it to something like Physics.