Unity 2017 Beginner Tutorial 3 - Using Rigidbody to move an object VIDEO
In my previous tutorial, I used the transform.translate() function to move my main character, which resulted in a bug - the player gets absorbed into a wall. This is because the main character is not considered as a physics object when you move it with transform.translate(). So in this tutorial we learn how to declare a rigidbody variable, how to assign the player's rigidbody component to this variable, and then how to use the rigidbody.movePosition function to move the player, so that it will collide properly with the wall.
Other Videos By Magic Monk 2017-10-03 Whale Watching @ Mooloolaba Beach, Sunshine Coast, Queensland, Australia 2017-09-29 Using a formula to integrate exponential functions e^x 2017-09-26 DIY Yoga back massage - no equipment needed (except a towel and a mat) 2017-09-23 Rainbow Beach, Queensland, Australia 2017-09-20 New Website for Magic Monk Tutorials coming! 2017-09-16 Batman, Batmobile, Thor, Captain America and Harley Quinn at Toowoomba Floral Parade 2017 2017-09-15 How to Differentiate Ln functions and Integrate 1/x functions 2017-09-12 Differentiate Ln Trig functions with quotient rule 2017-09-08 Differentiate Ln functions using the product rule 2017-09-04 12 Math B - Present value of an ordinary annuity 2017-08-19 Unity 2017 Beginner Tutorial 3 - Using Rigidbody to move an object 2017-08-16 Beginner gym workout routine number 2 2017-08-11 Unity 2017 Beginner Tutorial 2 - Moving a cube with acceleration 2017-08-10 Unity 2017 Beginner Tutorial 1 - Moving a cube at a constant speed with arrow keys 2017-08-05 Quickest way to enter math equations in Microsoft Word (365, 2016, 2013 etc) 2017-08-02 Unity 2017 Beginner Tutorial - Making a spinning coin 2017-07-30 Math B - Integrating 1/x graphical explanation 2017-07-26 Beginner gym workout routine (no experience necessary) 2017-07-23 Differentiate Ln(x) graphical explanation 2017-07-19 Math B - Differentiate Exponential Functions using Quotient rule 2017-07-16 Math B - Differentiate exponential functions with product rule
Tags: unity rigidbody.movePosition
unity collision error
unity object does not collide with wall properly