The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Multiple Issues Help Raising a weight via crank
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Raising a weight via crank

Alright this one is kind of a big, multi-faceted issue I need help on, and am failing at solving virtually anything about this script I'm trying to solve. I am looking at the TDD map and script files for help but they haven't helped any.

I am trying to make a control_room_piston_weight supported by a chain, which you can raise and lower with a crank_iron. It will have to be raised a long way, before being stuck at the top. here are the multiple issues I'm facing:

1) The weight drops to the floor no matter what. I've tried increasing the force the RopeArea exerts and increasing its stiffness, but it refuses to hold the weight in the air. The only thing i can do to get it not to fall are to turn on Static Physics, but then I cannot raise or lower the weight at all. I'd like it to be able to rise and fall with the chain but as far as I can see it just sits on the ground motionless while the chain goes up and down. I've made sure the rope is attached to "control_room_chain_weight_1_Body_1"

2) The chain is springy. It stretches and shrinks when I lower it and raise it with the crank. I've again tried to fix this by fiddling with the stiffness, but it seems to have no effect.

3) The chain moves way too fast. Since the weight has to move a distance of about 20m to reach the top, I need it to move rather slowly, since the player will be struggling to raise the heavy thing. The first thing i tried to do was widen the min-max states of the crank so he has to spin it a whole bunch to raise it. But frankly, I have to set it to a ridiculous amount before the chain moves in a realistic way at all. Another way I'd like to approach it is by slowing down the movement of the crank, but don't know how to go about this.

4) Inconsistent rope length. Perhaps this is just a factor of the attached weight falling below the chain (all the way to the bottom of a long hole). I begin the level with the crank stuck at min, and stuck disabled upon interaction. However when I wind it all the way to max, and then back down to min, the rope is almost twice as long than it how it began.

I hope someone can help me with this. Since this is such a complex issue I will probably credit anyone in my CS who helps me through this. @.@

06-15-2012, 09:50 PM
Find


Messages In This Thread
Raising a weight via crank - by Damascus - 06-15-2012, 09:50 PM
RE: Raising a weight via crank - by Adrianis - 06-15-2012, 10:53 PM
RE: Raising a weight via crank - by Damascus - 06-16-2012, 05:49 AM
RE: Raising a weight via crank - by palistov - 06-16-2012, 07:52 AM
RE: Raising a weight via crank - by Damascus - 06-16-2012, 08:24 AM
RE: Raising a weight via crank - by palistov - 06-16-2012, 09:19 AM
RE: Raising a weight via crank - by Damascus - 06-16-2012, 09:40 AM



Users browsing this thread: 1 Guest(s)