#Force Problems

51 messages · Page 1 of 1 (latest)

short sundial
#

i have tried adjusting the forces, but that dosent seem to do anything.

#

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)```
short sundial
#

ModuleScript (Inside ServerStorage)

tidal canopy
#

@short sundial

#

hi

#

i mhere to look

short sundial
#

k

#

take your time

tidal canopy
#

@short sundial

#

its too hard for me

#

can u help me too

short sundial
#

how?

jagged perch
#

adjust maxforce

short sundial
#

to what? Lower or higher?

short sundial
#

@jagged perch ^

jagged perch
#

lower

jagged perch
#

how did bro get level 1 🙏 😭

short sundial
#

we dont talk bout that

#

lowering the forces did nothing

gritty bridge
#

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

short sundial
# short sundial Video: https://streamable.com/kso7i3

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.

short sundial
#

@gritty bridge

short sundial
#

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

crystal isleBOT
#

studio** You are now Level 9! **studio

short sundial
#

should i switch to linear velocity?

#

i think you might be on to something here

#

oh nvm

#

im cooked 😭

gritty bridge
#

I do not promise ill be able to tho, but ill def try figure it out

short sundial
#

k

gritty bridge
# short sundial <@195535135117017098>

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?

short sundial
#

it lagged my computer

gritty bridge
#

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

short sundial
#

K

short sundial
#

ima just start from scratch again lol

#

and improve it a lil bit

short sundial
#

i got something as basic as this: (decied to switch to sphereCasting)

jagged perch
#

bro was never using linearvel?!!!?!?