- Home /
Flipping an 2D object with joints
I'm trying to flip my 2D bike. It has joints to the wheels and suspension. When I flip it, the joints doesn't get flipped, but all the sprites does.. it's like I have to use 3D and just rotate it instead. Is there any way to do this in 2D mode?
Thanks!
Answer by DanyValley02 · Sep 11, 2020 at 10:34 PM
i have the same problem, i dont know if you still active but i dont know what to do. if you find the way to solve it i would appreciate if you can help me!
Answer by ewan000 · Sep 12, 2020 at 10:09 AM
Hi Dany,
its been a long time but i dug out the code to see how i solved the problem.
I used Puppet2d which has a "flip" property which does the hard work for you.
https://answers.unity.com/questions/1348414/help-apdapting-character-flip-script-to-use-getcom.html
Your answer
Follow this Question
Related Questions
Moving A 2D Object Forward 1 Answer
OnTriggerEnter2D Running twice when destroying game object. 1 Answer
Flip a 2d character 3 Answers
Blurry game build 0 Answers