Jump to content
  • Advertisement
Sign in to follow this  
MustSeeMelons

Unity Line renderer in unity and making a beatiful rope.

This topic is 985 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,

First off, I hope that I have posted in the correct section of the forum, If not feel free to move it around ;)

I' building a simple puzzle game in Unity in which I want to utilize the LineRenderer to create a rope between two points. Imagine shooting a harpoon.

I get the line and it's fine, but I can't change its material - its greyed out. I can choose what ever shader, cant do a thing. Any ideas what could cause this behavior?

 

And while I'm here, back to the harpoon. I indeed have a shooting harpoon and was thinking on making the rope a bit more dynamic than just a simple line. For example loses tension hitting the target and when start to pull back, regains the tension and starts to move the object to the shot point. I think I can't use physics as it would make the shooting imprecise and end up like Surgeon Simulator.. Currently the shooting is fine, would like to make it prettier though. Any ideas how to approach this?

 

 

Share this post


Link to post
Share on other sites
Advertisement

It sounds like you are trying to dynamically simulate rope and for that, you will need physics. I am afraid line renderer will not be sufficient for that kind of purpose. Now there is out to be something on the asset store that would let you simulate rope.

You can also try making rope with help of particles.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!