Movement and Knockback with Dynamic Rigidbody 2D AddForce Physics in Unity 2022
Chris' Tutorials
Tutorial describing how to use addforce with rigidbody2d in dynamic mode to move players or other objects around your scene. This includes how to calculate and apply knockbacks from enemy or projectile hits.
Unity Scene and Scripts ➣ https://www.patreon.com/posts/71858075
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://chris-tutorials.itch.io/ https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - What to Expect 00:46 - Understanding Dynamic Mode Rigidbody 02:00 - Dynamic Movement with AddForce 03:15 - Knockback Add Force Impulse 04:00 - Calculating Knockback Direction 05:36 - Changing Linear Drag for Walking and Stopping 07:10 - Wrapup ... https://www.youtube.com/watch?v=u4dG1AmXapI
55970927 Bytes