Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Feb 12, 2016 at 12:06 PM by rajan4uto for the following reason:

Other

avatar image
0
Question by rajan4uto · Dec 30, 2015 at 09:54 AM · character controlling

how to swing character controller on rope? I want the movement exactly like manuganu 2.

I am trying to swing my player on rope and rope movement is animated too and fro motion. I have used hingjoint but it is not working perfectly what i need like manuganu 2. I have also parent it on collision but still not getting that effect.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Dec 30, 2015 at 04:08 PM 0
Share

For ropes in Unity, in practice you need to just use one of the excellent rope kits available on the asset store.

It could easily take you 1-2 man-years to properly program ropes from scratch. There's no realistic alternative these days ... it's one of those things you realistically just have to use one of the available solutions.

Enjoy!

avatar image rajan4uto Fattie · Dec 31, 2015 at 04:55 AM 0
Share

thanks for your answer, but please check the rope swing in manuganu 2 then you can get what i want to do. Check the given image.

f-1784-506899372d.jpg (95.2 kB)
avatar image Zoelovezle rajan4uto · Dec 31, 2015 at 05:35 AM 0
Share

Fattie is absolutely correct. You should check rope kit available in asset store .It could take years for scripting them from scratch . @rajan4uto .Theres no chance of building a realistic rope using animation to use in physics.

Show more comments

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by _Yash_ · Dec 31, 2015 at 06:02 AM

  • Create a vertical strip of vertices as a rope, you can also create cylinder but 2D will be fine for this.

  • It's anchor should be at the top for ease of calculation.

  • now use MeshFilter of the object to access the vertex array of this strip in Unity.

  • animate each vertex horizontally based on distance from the top. Now rope will be moving straight(similar to left rope in image).

  • to give it a curve (similar to right rope in image), use exponential distance from top, or use some power of distance from top.

If you just want to show this ropes, you can do this in Shader. if you need to access the state/position of rope to hang something, you should do as above.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rajan4uto · Dec 31, 2015 at 06:17 AM 1
Share

thanks! i am going to try this and if it will work i will share the script.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Rigidbody causes ragdoll character to fly 4 Answers

A fan that pushes the character controler away(preferbly C#) 0 Answers

Smooth walljumping 0 Answers

Controllers standard assest script problems 0 Answers

A form of SimpleMove, without the CharactherController 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges