Thank you so much! Searched high and low to find a basic explanation of 3D rigidbody rotation. None of them worked when I tried to implement them. This video absolutely delivered.
Excellent video. And as others said, this is the only video which shows how to rotate a game object on mouse or touch and in a just couple of lines of code. Thanks.
Can you help me fix issue?.. I want to mod game.. boat object. When paddle is on the left, boat should rotate slightly to the left. Right paddle.. to right. I use transform.Rotate() and It looks like works, like it should.. But my issue: boat starts to rotate, and slowly nose go up, with every paddle swing boat moves up.. I need such paddle action, but I can't find solution. chatgpt not helps.. he actually gives wrong answers :( Boat rotates to Left and Right (X axis) while moves. But I need rotate whole object around axis.. So left side goes down, and right goes up. Thanks for any info
This approach is better than moving transform itself, but it's still not fully utilizing Unity's physics system. For example interpolation won't work with this approach. I recommend manually calculating and applying Rigidbody's velocity and angularVelocity or use AddForce and AddTorque methods.
hi this rly helped. could u make a script like this where its pointing the direction its moving but whith a jump pls. if you can then pls reply to my comment with the script so i can copy paste it. btw nice youtube channel
Thank you so much! Searched high and low to find a basic explanation of 3D rigidbody rotation. None of them worked when I tried to implement them. This video absolutely delivered.
This is the only resource I could find that explains how to rotate a rigid body in a target direction in the fixed update method. Thank you so much.
Excellent video. And as others said, this is the only video which shows how to rotate a game object on mouse or touch and in a just couple of lines of code. Thanks.
Can you help me fix issue?..
I want to mod game.. boat object.
When paddle is on the left, boat should rotate slightly to the left. Right paddle.. to right.
I use transform.Rotate() and It looks like works, like it should..
But my issue: boat starts to rotate, and slowly nose go up, with every paddle swing boat moves up..
I need such paddle action, but I can't find solution.
chatgpt not helps.. he actually gives wrong answers :(
Boat rotates to Left and Right (X axis) while moves.
But I need rotate whole object around axis.. So left side goes down, and right goes up.
Thanks for any info
Extremely well-explained... Thank you.
Thank you a lot for the super clear explanation!
hello bro i want to know that how can i make wall run in unity plz reply
This approach is better than moving transform itself, but it's still not fully utilizing Unity's physics system. For example interpolation won't work with this approach. I recommend manually calculating and applying Rigidbody's velocity and angularVelocity or use AddForce and AddTorque methods.
Clear and simple, thank you!
Thank you so much
Awesome job! Help me out!
How do you do this using Unitys new input system ?
Samyam she has a tut on how to do this but not with a rigidbody, but u can use this code and just tweak it a bit i think.. I'm about to try
Thanks!
thanks sir
Thanks
hi this rly helped. could u make a script like this where its pointing the direction its moving but whith a jump pls. if you can then pls reply to my comment with the script so i can copy paste it. btw nice youtube channel
lol