#Ive got a bike bike need help with tweaking physics (Fully functional just physics kinda bum)

1 messages · Page 1 of 1 (latest)

agile hinge
#

Ive basically got a working bike with good controls my issue is at higher speeds when u try to turn the bike kind of lifts the rear wheel up almost as if the front is getting caught on the surface or what not, i dont know what to change anymore the gyro is working as it should sorta please help;]

viral oarBOT
#

studio** You are now Level 4! **studio

night belfry
#

a picture of the damn bike wont do nun

agile hinge
#

lmao one sec

agile hinge
#

it would be eaiser to show first @night belfry

#

its 3 diff scripts lotta lines

stable imp
#

this is #1020374354867007528, if you need help with physics send us a snippet of the physics code.

if you're worried someone will "steal" your code, trust me literally no one cares enough to. 😭

agile hinge
#

fair enough

#

lol what discord automatically sends it as a msg text

#

this script is in startercharachterscripts

#
local data = { --roblox stud == 1 ft
    --gear info
    [1]=1;--casset
    [2]={
        52;
        48;
        43;
        31;
        26;
        20;
        16;
    };
    [3]=1;--cog
    [4]={
        30;
        40;
        53;
    };
    --bike stats
    --server
    [5]=6;--spd
    [6]=2;--turnspd
    [7]=79000;--turntrq
    [8]=2.2;--waight
    [9]=2;--fricW_F
    [10]=2.25;--fricW_R
    [11]=-240;--tiltM
    [12]=30;--tilttrqX
    [13]=40;--tilttrqY
    [14]=30;--tilttrqZ
    [15]=48;--up_gyro torque
    [16]=2;--slideM
    [17]=24;--DriftCtrl : Controlls the drift of the front wheel while turning
    [18]=2700;--actDtrq
    [19]=800;--idleDtrq
    [20]=9999999;--inptrq
    --player
    [21]=6;--spd
    [22]=30;--turnang
    [23]=2.2;--waight
    [24]=2;--fric_F
    [25]=2;--fric_R
    [26]=0.85;--tiltM
    [27]=0;--slideM
    --suspension
    --server
    [28]=500;--damp_F --critical damp point is 1
    [29]=500;--damp_R
    [30]=1999999;--rboun_F --max force
    [31]=460000;--rboun_R
    [32]=85500;--stif_F
    [33]=90000;--stif_R
    --player
    [34]=1;--damp_F
    [35]=3;--damp_R
    [36]=1;--rboun_F
    [37]=1;--rboun_R
    [38]=1;--stif_F or compresion
    [39]=0.3;--stif_R
    --wheel info
    [40]=3.5;--tireS_F +0.5
    [41]=3;--tireS_R // wheel friction
    [42]=2; -- wheelS
    --brake info
    [43]=1/10;--brake ratio
    [44]=500;--brake damp
    [45]=1000;--brake torque
    [46]=200;--brake power
    [47]=-80*math.pi/180;--brake antiforce angle limit ; MUST BE IN RADIANTS ; MAKE SURE NUMBER IS NEGITIVE, OTHERWISE THIS BECOMES A BOOSTER [will no longer have brakeing]
    [48]=0;--omni-brake -- 0 off, 1 on
    --weight slide info
    [49]=1.2;--weight
    [50]=2.5;--distance
}
return data```
#

this is the bike values where you can configure everything basically

#

server configure aka default settings and player default settings r 1 basically i think u get it

lone heron
#

never touch programming again

night belfry
agile hinge
agile hinge
night belfry
#

but even that shit is not formatted

night belfry
#

i can tell

agile hinge
#

what

#

i dont get it?

night belfry
#
local data = { --roblox stud == 1 ft
    --gear info
    [1] = 1, --casset
    [2] = {
        52,
        48,
        43,
        31,
        26,
        20,
        16,
    },
    [3] = 1, --cog
    [4] = {
        30,
        40,
        53,
    },
    --bike stats
    --server
    [5] = 6, --spd
    [6] = 2, --turnspd
    [7] = 79000, --turntrq
    [8] = 2.2, --waight
    [9] = 2, --fricW_F
    [10] = 2.25, --fricW_R
    [11] = -240, --tiltM
    [12] = 30, --tilttrqX
    [13] = 40, --tilttrqY
    [14] = 30, --tilttrqZ
    [15] = 48, --up_gyro torque
    [16] = 2, --slideM
    [17] = 24, --DriftCtrl : Controlls the drift of the front wheel while turning
    [18] = 2700, --actDtrq
    [19] = 800, --idleDtrq
    [20] = 9999999, --inptrq
    --player
    [21] = 6, --spd
    [22] = 30, --turnang
    [23] = 2.2, --waight
    [24] = 2, --fric_F
    [25] = 2, --fric_R
    [26] = 0.85, --tiltM
    [27] = 0, --slideM
    --suspension
    --server
    [28] = 500, --damp_F --critical damp point is 1
    [29] = 500, --damp_R
    [30] = 1999999, --rboun_F --max force
    [31] = 460000, --rboun_R
    [32] = 85500, --stif_F
    [33] = 90000, --stif_R
    --player
    [34] = 1, --damp_F
    [35] = 3, --damp_R
    [36] = 1, --rboun_F
    [37] = 1, --rboun_R
    [38] = 1, --stif_F or compresion
    [39] = 0.3, --stif_R
    --wheel info
    [40] = 3.5, --tireS_F +0.5
    [41] = 3, --tireS_R // wheel friction
    [42] = 2, -- wheelS
    --brake info
    [43] = 1 / 10, --brake ratio
    [44] = 500, --brake damp
    [45] = 1000, --brake torque
    [46] = 200, --brake power
    [47] = -80 * math.pi / 180, --brake antiforce angle limit ; MUST BE IN RADIANTS ; MAKE SURE NUMBER IS NEGITIVE, OTHERWISE THIS BECOMES A BOOSTER [will no longer have brakeing]
    [48] = 0, --omni-brake -- 0 off, 1 on
    --weight slide info
    [49] = 1.2, --weight
    [50] = 2.5, --distance
}
return data
#

format stuff first of all

#

second of all, learn proper control flow

#

ur abusing if statements

#

here now that is formatted

#

tell me who wrote this

agile hinge
#

😭

#

vibe code they say

night belfry
#

no, no ai writes code like this

#

u genuinely need to tell it, make it worse

agile hinge
#

r u saying ai is would do better

night belfry
#

alot better

#

one prompt better

#

instant better

agile hinge
#

im crashing out

#

also wtf did u change

worn girder
worn girder
night belfry
agile hinge
#

its a public chassis @worn girder

#

i just tweaked it

night belfry
worn girder
agile hinge
#

can we lowkey quit the hate

worn girder
night belfry
night belfry
#

that makes sense

agile hinge
#

icl u guys speaking chineese

worn girder
agile hinge
#

no

night belfry
#

i cant be bothered to fix all of it

worn girder
# agile hinge no

that was rhetorical. bruh we can only help you with code you wrote yourself. even if you understood this code any advice we could give you would be meaningless to you and make no sense for you

worn girder
night belfry
agile hinge
viral oarBOT
#

studio** You are now Level 5! **studio

worn girder
night belfry
#

LMAOOOOO

#

that code was dubious

worn girder
night belfry
#

i didn't format it

#

but it seems okay to read

agile hinge
#

I mean TBH the bike works how i sorta want it to its a specific kinda control system only problem is that it tries to turn at high speed and for fuck all reason the front stucks to surface or like idk and the rear tips up and then 180s lol

night belfry
worn girder
# night belfry but it seems okay to read

i'm rather surprised how well it appears to have followed along and restructured things. i don't really have the time to fact check it but it's interesting that this could be a real proper use for ai

night belfry
#

i reccomend ACTUALLY LEARNING

night belfry
#

and it hallucinates alot, so i dont use it unless when the guy DOESN'T even code his own shi

worn girder
#

and i don't know how i should feel about that :\

agile hinge
#

wait can you guys kinda tell me whats going on

#

im confused

night belfry
#

code it urself bro or dont claim credit

agile hinge
#

im not claiming credit i said its a puiblic chassis

night belfry
agile hinge
#

its literally public do u want full evidence

#

are we deadass

night belfry
#

public doesn't mean not stolen bro

worn girder
worn girder
agile hinge
#

and i lowkey got it to kinda work js the front wheel issues

worn girder
#

a-chassis is open source why decompile it

night belfry
#

and im not sure if its even a bug or a feature missing, since i dont rlly get what u mean either

agile hinge
night belfry
worn girder
#

if you did not code it yourself?

agile hinge
worn girder
night belfry
worn girder
night belfry
worn girder
night belfry
agile hinge
#

im confused lmao

#

wait let me send u the serv

worn girder
agile hinge
#

a discord server of a roblox game

#

its like community

night belfry
#

its not relevant to u nw's, i reccomend rewriting the script for ur purpose or use my ai refactored one at ur your own risk

worn girder
#

u hav stolen code

agile hinge
#

its more fun this way cusz im also doign like a project i like

agile hinge
worn girder
#

if you want to work with stolen code i mean all the power to you but like im not sure what kind of help you're expecting for stolen assets? pretty sure that breaks roblox tos in some way, might even break discord tos on disassembly help

night belfry
# agile hinge its like community

tbh the code is too shit for u to take it, i reccomend using another, that is properly documented and not decompiled so its more readable

viral oarBOT
#

studio** You are now Level 6! **studio

agile hinge
#

do u know the definittion of stolen

night belfry
agile hinge
#

i dont understand why the hate even

night belfry
worn girder
agile hinge
#

im ljust having fun figuring things as i go

night belfry
agile hinge
night belfry
#

and u haven't told it to make it more direct and better formatted?

#

that code is practically impossible to read without an aneurysm.

agile hinge
#

It did help me understand some of the code to adjust it to some things but more than that is just cutting the code off for wtver

agile hinge
#

whats missing

worn girder
agile hinge
#

if I upload a model download of mine somewhere it dosent mean u can take it

night belfry
worn girder
agile hinge
#

ICL gpt+ was buns too

worn girder
#

bruh you can't just re-upload other people's stuff and call it yours

agile hinge
#

holy ragebait

#

get tf out my post pyro

night belfry
agile hinge
#

i figured by ur guys hate

worn girder
agile hinge
#

holy shit cant let a person ask for help yall doing ANYTHING but helping

night belfry
#

if u had gpted the code, or atleast stolen readable code this would have gone differently

agile hinge
#

yk what would help? being straight to the point telling me abt issues of whoever wrote the code, instead we should hate on him and then tell him what were talking about

agile hinge
#

tbh if pyro wasent here larping so much id appriciate u prolly more cuz that influence of his wouldn't prolly been here then

night belfry
lone heron
night belfry
#

and its beyond ass

lone heron
lone heron
#

❤️‍🩹

agile hinge
#

holy shit go hate in dms pls<3

lone heron
#

dumb skid

agile hinge
#

i dont wanna see it infron of my eyes smh

agile hinge
lone heron