- Home /
Question by
thk123 · Dec 19, 2013 at 11:17 AM ·
RigidBody2D rotation on y-axis not z-axis
I am converting my game in to using the 2D stuff in Unity and am having an issue applying torque to my RigidBody2D
rigidbody2D.AddTorque(1.0f);
Causes the object to rotate around the y-axis as opposed to the z-axis. Any ideas?
Comment
Best Answer
Answer by thk123 · Dec 19, 2013 at 11:33 AM
Being an idiot - object was rotated by 90 degrees.
Your answer
![](https://koobas.hobune.stream/wayback/20220613124503im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Font Clipping 3 Answers
Sprite layer order determined by Y value 4 Answers
Water Fire Effect On 2d Game 1 Answer
Main character always attached with ground 1 Answer
Jump is not working in 2D. 0 Answers