Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using a rope - problems encountered
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#1
Using a rope - problems encountered

Hey dear Forum Members Exclamation


I managed to make a rope, using a Rope area and a posnode to end it.

My problem is the settnings. I can't make the rope follow the area I have underneath it. To explain my problem a bit more I made a useful picture: http://img577.imageshack.us/img577/4767/95163961.png

(The red represent my rope, and yes the picture is custom made Tongue )


Do I have to make a lot of "small ropes" and then connect them, or how could I solve this problem?


All the best,
//Twitchez
04-15-2012, 03:01 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#2
RE: Using a rope - problems encountered

The picture is very useful! Tongue

You are right, you have to use a couple of smaller rope areas. (only two though!)

make the first one along the top of the step, and make the second one going down the step. Connect the endBody of the first rope to a block_box_mass_2 (found in entities>technical)
and connect the startBody of the second rope to this same invisible box!

Edit: Play around with the max-length of the rope. It should be about the sme as the distance between the rope-area and the posnode.
Also, shrink the invisible box down so it is approximately as thick as the rope

(This post was last modified: 04-15-2012, 03:30 PM by DRedshot.)
04-15-2012, 03:27 PM
Find
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#3
RE: Using a rope - problems encountered

Hey again, thanks for the quick answer.

I might have missunderstood you, but here is the outcome:

http://img802.imageshack.us/img802/1664/unt22itled.png


What am I doing wrong?
04-15-2012, 04:02 PM
Find
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#4
RE: Using a rope - problems encountered

Try this:

Rope Area -----> End Pos ---> Rope Area (on edge of cliff) ---> End Pos (bottom of cliff) ----> invisible block box (bottom of cliff).

Alternatively, put a pulley entity (in equipment) and make that the EndBody of the first rope, but you still need two ropes.

To illustrate the second suggestion:

Start Area End Pos EndBody
RopeArea1 EndPos1 pulley_1
RopeArea2 EndPos2 invisible_block_box

Where RopeArea2 is going from the pulley down to the bottom of the cliff.

04-15-2012, 04:17 PM
Find
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#5
RE: Using a rope - problems encountered

"
Rope Area -----> End Pos ---> Rope Area (on edge of cliff) ---> End Pos (bottom of cliff) ----> invisible block box (bottom of cliff)."


This litteraly made my rope go all over the map. You mean with different settnings than Dredshot?

EDIT: I'm sorry, I can't use pullies. They would'nt make any sense in the story I'm currently making Sad
(This post was last modified: 04-15-2012, 04:24 PM by Twitchez.)
04-15-2012, 04:22 PM
Find
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#6
RE: Using a rope - problems encountered

Maybe you can't just attach ropes to end pos without an end body as well. Try the pulley method, that will work.

04-15-2012, 04:25 PM
Find
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#7
RE: Using a rope - problems encountered

Well, I was very close with Dredshot's method. Just that I cant get that special curve on my rope as I want to.

If I would be honest, I think it would have been much easier if ropes worked as an enitity that would be affected by gravity, and you would put where the rope begins, and then let gravity shape it after your plane.
04-15-2012, 04:32 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#8
RE: Using a rope - problems encountered

Does the top half of the rope need to be dynamic? Click on the invisible box, and check 'static physics'
Then test it in-game. Does this give it a suitable look? Or do you want the top part to swing when you interact with the bottom?

If so, try shortening the MaxLength of the first rope a little more, and making the box a little bit thinner.

It's all trial and error with rope areas, they are really hard to get looking nice. Just keep tweaking and it should begin to look alright. And I'm not sure whether you'll be able to get that neat curve you are looking for, it is really hard to give a rope those kind of collision properties without making it into an entity.

(This post was last modified: 04-15-2012, 04:37 PM by DRedshot.)
04-15-2012, 04:33 PM
Find
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#9
RE: Using a rope - problems encountered

Thanks DRedshot, you just made everything look great Big Grin No, I did'nt need it to be dynamic, so I checked static physics and now it looks good again!

Have a nice day!

//Twitchez
04-15-2012, 04:41 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#10
RE: Using a rope - problems encountered

Your welcome Smile

04-15-2012, 04:45 PM
Find




Users browsing this thread: 1 Guest(s)