Jump to content

Ideas on how to add an attached rope


Recommended Posts

I was wondering if anyone has dealt with this? I have part of a crane that is connected with cables. I point to them with blue hand drawn arrows. They are black lines that go up and down. 

The part pointed to by the yellow arrow is the part that moves up and down. 

OK so how do you shorten and lengthen that pretend cable? Is there some sort of rubber band thing?

Or maybe a tube I can constantly change the end point ?

If I create each of the four cables with this

TraceRibbon=BABYLON.Mesh.CreateTube("TraceLine",TracePath,1.0,12,null,0,scene,true, BABYLON.Mesh.BILLBOARDMODE_ALL);

and alter the end point of the TracePath  and call 


is that going to hurt performance? I need to do it to about 200 vehicles. 



Link to comment
Share on other sites

Hiya CB!  Good to see you again.

Could you use a basic textured cylinder, with its pivot point set to one end... and then use a Y-scaling to make the ropes longer/shorter?


Pretty good performance on this method, I think.  Party on!

Update:  Version #2... better texture management.  :)

Link to comment
Share on other sites

@chicagobob123 : agree with @Wingnut about a possible way to go :)

Here is my example made and animated in Blender a couple of hours ago - but by the time I get around to posting it - Wingy has beaten me to it :o

Anyway for posterity: The Lift

Uses the same technique - scaling the rope about the pivot point/origin which is set at the top of the rope pieces. In my case the ropes are just stretched cubes. The little white cube is the target for the arcRotate camera exported from Blender.

cheers gryff :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...