Hello, I'm working on a 2D Sidescroller type game and I have a platform that I want to be fixed at a point, and then able to rotate around that point when affected by physics (i.e. gravity, player collision, etc.). I'm not sure how to accomplish this. Maybe an image will help you understand what I mean. Image
Answer by MelvMay
5 days ago
Just use a HingeJoint2D with the anchors set to the pivot point.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
2D Ragdoll running game (Ragdoll Runners esk)
How to align a sprite to a slope without using fixed angle?
How do deal with slopes in Unity2D with Physics-Based Movement?
physics Material 2D not working !!!!
Why does put RaycastHit2D type to boolean variable in 2D platformer Demo?