studio-minus / ppg-bugs-and-requests

Bug report issue tracker
21 stars 26 forks source link

Artificial muscle #945

Open BugMan33 opened 2 years ago

BugMan33 commented 2 years ago

Feature description

The artificial muscle will work like winch - It can expand, contract, you can set upper and lower limit, it will be flexible ( like spring ). It will make a sound other than winch and it can break with too high or too low temperatures and electromagnetic pulses.

Feature purpose

You can make better exoskeletons, prostheses, ...

Additional context

Winch is too large to be able to connect with a human, even if you attach the piston to humans arm, it may tear it apart. Artificial muscles can help you make exoskeletons and prostheses (Augment human).

DindinYT37 commented 2 years ago

Yes. Just, yes.

SperoTeStupriMori commented 2 years ago

good fucking idea, you are one of the rare people that make good suggestions.

mestiez commented 2 years ago

I like the idea of an artificial muscle but Unity's Box2D joints really don't like large weight gaps between connected objects. The muscle will go nuts trying to pull together two heavy objects unless the muscle itself is also very heavy. This is why the rotor and servo are so incredibly heavy.

Alternatively, the muscle can adjust its own weight to what it's attached to but this doesn't play well with the other systems that exist in the game. Open to any suggestions.

DindinYT37 commented 2 years ago

I like the idea of an artificial muscle but Unity's Box2D joints really don't like large weight gaps between connected objects. The muscle will go nuts trying to pull together two heavy objects unless the muscle itself is also very heavy. This is why the rotor and servo are so incredibly heavy.

Alternatively, the muscle can adjust its own weight to what it's attached to but this doesn't play well with the other systems that exist in the game. Open to any suggestions.

Is there a way to attach a heavy object to two other objects but only make one of those be affected by the weight of the heavy object?

BugMan33 commented 2 years ago

I like the idea of an artificial muscle but Unity's Box2D joints really don't like large weight gaps between connected objects. The muscle will go nuts trying to pull together two heavy objects unless the muscle itself is also very heavy. This is why the rotor and servo are so incredibly heavy.

Alternatively, the muscle can adjust its own weight to what it's attached to but this doesn't play well with the other systems that exist in the game. Open to any suggestions.

If it was WIRE like a muscle from OCM mod? If it was a wire, there would be a small device called a muscle puller. It would have one end and from that end you could attach the muscle to another object. There could be 2 options to strengthen it - Option 1 - The more muscles you add, the stronger it would be. Option 2 - If you connect it to any power source, it would be stronger. The only problem with this is that if you unfreeze the muscle puller, it can't contract and expand. I don't know if it's because of a problem you wrote about or if it's just a badly coded mod. This is the first suggestion I have been thinking about. I also made a video about it here :

https://user-images.githubusercontent.com/89192183/159991030-8336dbd1-0bb0-48f7-bb87-8b7b5e88fb92.mp4

DindinYT37 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

BugMan33 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

Did you read everything I wrote in my comment ? :D

DindinYT37 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

Did you read everything I wrote in my comment ? :D

Isn't your solution invalid then?

BugMan33 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

Did you read everything I wrote in my comment ? :D

Your solution is invalid then?

I don't exactly know how to code yet, but I only wanted the artificial muscle in the game to make things like exoskeletons and prostheses because the only way to augment human is with syringes. So I wrote this suggestion. The solution might be invalid, but I want there to be artificial muscle in the game, so I'm trying to do something about it.

DindinYT37 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

Did you read everything I wrote in my comment ? :D

Your solution is invalid then?

I don't exactly know how to code yet, but I only wanted the artificial muscle in the game to make things like exoskeletons and prostheses because the only way to augment human is with syringes. So I wrote this suggestion. The solution might be invalid, but I want there to be artificial muscle in the game, so I'm trying to do something about it.

I guess, well I can only suggest making a muscle a wire hybrid, like: Collides, can be dragged etc. but you can connect both ends using fixed cables (as example) to something and it'll work. Those could then maybe adjust weight accordingly or be set to X (maybe 5) muscle strengths, and if it can't lift, attach more to make it stronger (Since that'd also increase weight).

BugMan33 commented 2 years ago

Muscle Wires which you can connect with each other would make sense. Edit: Also, just noticed that in the video, the same issue as zooi mentioned is present. As soon as you unfroze the muscle puller, it was unable to pull the car - while it would have worked if the muscle puller was heavier.

Did you read everything I wrote in my comment ? :D

Your solution is invalid then?

I don't exactly know how to code yet, but I only wanted the artificial muscle in the game to make things like exoskeletons and prostheses because the only way to augment human is with syringes. So I wrote this suggestion. The solution might be invalid, but I want there to be artificial muscle in the game, so I'm trying to do something about it.

I guess, well I can only suggest making a muscle a wire hybrid, like: Collides, can be dragged etc. but you can connect both ends using fixed cables (as example) to something and it'll work. Those could then maybe adjust weight accordingly or be set to X (maybe 5) muscle strengths, and if it can't lift, attach more to make it stronger (Since that'd also increase weight).

I made something similar, but wonky with pistons

https://user-images.githubusercontent.com/89192183/160000770-9d1b46fa-f560-44e2-a72d-991ce2632a21.mp4

.