#Force Problems
51 messages · Page 1 of 1 (latest)
Code:
ServerScript (Inside ServerScriptService):
local SuspensionModule = require(game.ServerStorage.Modules.SuspensionModule)
local carModel = workspace.CarModel
local wheelPositions = {
FL = Vector3.new(-2.9, 0, -5),
FR = Vector3.new(2.9, 0, -5),
BL = Vector3.new(-2.9, 0, 5),
BR = Vector3.new(2.9, 0, 5),
}
local showVisualizer = true
SuspensionModule.setupSuspension(carModel, wheelPositions, showVisualizer)```
how?
adjust maxforce
to what? Lower or higher?
@jagged perch ^
lower
how did bro get level 1 🙏 😭
have seen this post pop up but havent been interested cause theres no explanation
What you want to happen
What is happening
Are you doing any inputs for it to happen?
Not tempting to use my time to go through something, trying to figure out what the problem is, instead of go through the code already knowing what the issue is
what i want to happen is for the car to be stable and not launch into outerspace or whatever the video is. what i think is happening is that there is no downforce on the upperWheel (and i forgot an upforce which i implemented). and no inputs are taken place.
@gritty bridge
The Problem
What i want the car to do:
- The suspension to behave like a normal car
Reality:
- Too much force is being applied downwards which causes the car to go into the air
What i`ve already tried:
Adjusting the Forces
Clamping them.
Red Beam - Downwards Force
Green Beam - Upwards Force
Expectation: something like this i found on youtube
@spice jasper
k
where is the vectorAxis thing?
k
like is it found in the vectorForce or someplace else because i cant find it
** You are now Level 9! **
should i switch to linear velocity?
i think you might be on to something here
oh nvm
im cooked 😭
could you send me the car youre using and ill get to testing? got back from work now
I do not promise ill be able to tho, but ill def try figure it out
I could not figure it out. Lack of documentation is my downfall
I did only manage to make the care barely shoot up as fast tho, by diving wheelforces by 4 (cus 4 wheels)
Is there a reason you havent used spring constraint?
it lagged my computer
I see. I would just suggest trying again but writing documentation so its easier to keep track of. Cus obviously something is wrong but hard to know exactly where it goes wrong
K
bro was never using linearvel?!!!?!?