Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Vermillion, your math seemed to be fine. I just added the move vector in with the gravity vector and it worked. I probably studied it for two weeks, though, trying to figure out what the vector math was doing, but in the end I used your method and everything worked fine. I totally rewrote the code, but the calculations are the same.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2710157500
iirc i tried to make that work, but screwed up the maths somehow, and was happy enough with the 1-grid behavior that i didn't bother debugging it.
I have stopped making scripts in SE over a year ago now.
If someone else would like to make a fork of this feel free.
I finally managed to make it only use blocks of a group, that works. Please let me know if you want the code snippet.
What is wrong?
fires the ship up and my jaw dropped amazing script and works Flawlessly
I'm making a tug ship to grab stuff and move around. The problem I have is that when I grab something, the mass of what I'm grabbing isn't considered by the native dampening system and my ship drops slowly (or fast if what I'm grabbing is too massive).
Your script somewhat fixes that behaviour, but then I have to "dampened" manually in every directions.
I was wondering if it was possible to modify your script (or rather make another version) so it would use the native dampening for all directions except up/down? So no "drift" left/right and forward/backward so the ship would just stop dropping.
I understand if this is too much to ask but it's worth a try.
Putting in the PB and it's still the basic code so i guess ill copy paste from the github but maybe you need to check on it?
Exectally why I thought number 2!
I probally turned it off, and wondered why it wouldn't work...
well, So long as it works, I'm good!
A. An update
B. I was being a little stupid (Probally this one!)
Well, since it's working, I put that there so that people can see it in action!
I made it since I was having trouble getting it to work. (Probally an update