Garry's Mod

Garry's Mod

103 个评价
Suspension Tool
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 写实
文件大小
发表于
6.408 KB
2018 年 10 月 30 日 下午 4:22
1 项改动说明 ( 查看 )

订阅以下载
Suspension Tool

在 Six 的 2 个合集中
Tools, scripts, and addons
136 件物品
Six's Uploads
28 件物品
描述
Creates a swing axle suspension on wheels with elastics.
Created by Earth Element, translated by Bingle, maintained by me.
热门讨论 查看全部(1)
7
2019 年 10 月 1 日 下午 11:26
置顶: Bug Reports
Six
15 条留言
Black 7 月 26 日 下午 10:19 
really love this
Widukind 2021 年 10 月 2 日 下午 5:09 
how 2 use
Tumble Trash᠌ ⁧⁧ Official 2020 年 12 月 14 日 上午 9:56 
Can we get a tutorial, every time I use this, all that happens is spazzing...
aversion 2020 年 7 月 29 日 下午 4:18 
Should be easily fixable by just replacing L260 on my code with
local iterations = math.Round(t[14]:GetValue())
aversion 2020 年 7 月 29 日 下午 4:14 
FYI, just discovered a fresh bug with my add-in: net.WriteInt floors the value of the DSlider's GetValue before sending it to the server. While its nothing major, it does make it slightly more annoying if you have the slider just slightly before the 1 point and it rounds down to 0 iterations.
aversion 2020 年 7 月 29 日 下午 3:17 
Alright, yeah. I've done some more testing on a chassis, and although adding more elastics caused it to "bend" a certain way whenever it came to rest, it also prevented wheels slaved via ballsocket from flipping in the opposite direction.

Well I made a small modification to the code if you'd like to add it in.
Adds a slider to control the iteration count (how many elastics are applied).
https://hastebin.com/ubuquyiheg.lua
Six  [作者] 2020 年 7 月 29 日 下午 2:30 
@aversion
Other constraint tools sometimes do this as well, its because constraints in Source engine are rather weak and tend to slip, to get around this you double the constraints with the opposite properties to double the strength.
aversion 2020 年 7 月 29 日 下午 1:23 
Why does the tool need to create 6 elastics with the exact same settings?
https://cdn.discordapp.com/attachments/654146945681457156/738127494955139113/unknown.png
Kibōchen 2020 年 6 月 25 日 下午 6:49 
Really difficult to use. Not sure why I have to change the settings so much if I want to apply suspension to the other side of the car. Should really be worked on.
av_caner 2020 年 6 月 12 日 上午 5:05 
We need tutorial for this. It keeps glitching and breking game physics.