#Weird physics, hoping I can find help.

1 messages · Page 1 of 1 (latest)

fervent jasper
#

The explanation is long, please DM me for more info.

timber kindle
#

gang you gotta post the explanation here

#

there’s no reason not to

#

trust

fervent jasper
#

Sigh okay

#

Basically, I have a drag and drop system like in dead rails. It works fine, but in my game you put objects in a cart. When you place an object in the cart, and then move the cart, the object lags behind because the physics are being calculated on the server. So I made it so that once you pick an object up, you permanently have network ownership of it. This works fine, but in multiplayer it breaks. (If someone else places an object in your cart and then you move it, the object lags behind still)

#

If you have any idea on how to fix this, you can DM me and I’ll send the scripts (note that I for some reason put logic for something else in there I know it’s messy but I’ll fix it later)

silver crownBOT
#

studio** You are now Level 1! **studio

timber kindle
#

if it goes in the cart

#

why must it need physics

#

do what dead rails does

#

weld it

#

if you REALLY want physics for items in the cart

#

you need to render it on each client individually

#

if you want little to no delay

silver crownBOT
#

studio** You are now Level 11! **studio

last basin
#

what you said was right

timber kindle
#

what

last basin
#

the welding

timber kindle
#

yes

last basin
#

thats the only solution imo

timber kindle
#

but if he really needs physics for whatever reason

fervent jasper
#

And stuff needs to spill out

timber kindle
#

oh then unweld it when it rips

#

tips*

last basin
#

unweld

#

exactly

fervent jasper
#

Uhhh

#

Okay

last basin
#

dont give me attitude

fervent jasper
#

But like

#

If you drop it from a high hight it will just stay in the cart assuming it doesn’t tip which is kinda cherry picking but like

last basin
#

yes

timber kindle
#

you mean if it’s like stacked up?

last basin
#

he means what he said

#

if it falls from like a cliff for example and doesnt tip

fervent jasper
#

Also I don’t want the items to be stiff

timber kindle
#

ah ok

fervent jasper
#

It just doesn’t fit what I’m going for

timber kindle
#

then a speed check

last basin
timber kindle
#

but that’s chopped

#

af

last basin
#

super

fervent jasper
#

So is there basically no way for me to do this how I want it

last basin
#

thats why i cant even name ONE who does that except for LT2

timber kindle
#

yes

#

without it being super performance heavy

last basin
timber kindle
#

w game

last basin
#

even then there are big issues there cause if another player interacts with the car

#

there is a chance all the damn trees fall through anywyas

fervent jasper
#

This is highly discouraging but maybe there’s a way

timber kindle
#

gg

last basin
fervent jasper
#

That means physics are handled on the client right

timber kindle
#

yes

#

indeed

fervent jasper
#

Ok

timber kindle
#

but

#

it takes a while to replicated to everything

#

hence the issue you describe

last basin
#

ya

#

you will spend more time doing that than doing anything else in the game

#

and you wont be able to perfect it

fervent jasper
#

Doing it on the server is like the same way

timber kindle
#

which is why i suggested you eliminate that by having everyone do it which is not only very complicated but would be extremely heavy on performance

last basin
#

what tf is the game even about

fervent jasper
timber kindle
#

cooked

fervent jasper
#

Carry shopping cart of items to the end

timber kindle
#

bruh

last basin
timber kindle
#

give everyone network ownership of a duplicate of an item when it’s placed

#

the only thing on the server is the cart

fervent jasper
last basin
#

ruins the illusion

timber kindle
#

you can check

timber kindle
last basin
#

ive made my input bye bye now

fervent jasper
#

Thank you

timber kindle
#

aura

fervent jasper
#

I’ll look into it

last basin
#

no problem

fervent jasper
#

But I’m not sure I can find how lt2 did it

timber kindle
#

make your own game engine

#

trust

fervent jasper
#

I can’t believe there isn’t an easier way to do this but I can’t think of anything soooo

#

Who am I to complain

#

If only we lived in a world where the server and client communicated stuff like this faster

#

If only

#

Maybe I just need to rework the game a lil bit it completely ruins what I was going for it’d have to be completely different

timber kindle
#

make it a legal requirement to play roblox

fervent jasper
#

I don’t even have Ethernet

#

If only we lived in a world where everyone had Ethernet

#

Where is that WiFi that was made super fast by some guys in Asia or something

#

Can we get that here now

silver crownBOT
#

studio** You are now Level 2! **studio

fervent jasper
#

What a pain