#Weird physics, hoping I can find help.
1 messages · Page 1 of 1 (latest)
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)
** You are now Level 1! **
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
** You are now Level 11! **
no
what you said was right
what
the welding
yes
thats the only solution imo
but if he really needs physics for whatever reason
Because you can tip over the cart
And stuff needs to spill out
then make it when a cart reaches a certain rotation
unweld
exactly
dont give me attitude
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
yes
you mean if it’s like stacked up?
no
he means what he said
if it falls from like a cliff for example and doesnt tip
Also I don’t want the items to be stiff
ah ok
It just doesn’t fit what I’m going for
then a speed check
well then you are using the wrong engine
unfortunately i really think you would want to do all the physics on the client then
but that’s chopped
af
super
So is there basically no way for me to do this how I want it
thats why i cant even name ONE who does that except for LT2
look into how Lumber Tycoon 2 did it
w game
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
This is highly discouraging but maybe there’s a way
gg
do you want like other players to interact with it too?
I mean ik this can have issues it just for testing but when u pick up an object you have ownership of it
That means physics are handled on the client right
Ok
ya
you will spend more time doing that than doing anything else in the game
and you wont be able to perfect it
Doing it on the server is like the same way
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
what tf is the game even about
Very stupid idea
cooked
Carry shopping cart of items to the end
bruh
then do what LT2 did
give everyone network ownership of a duplicate of an item when it’s placed
the only thing on the server is the cart
Well items aren’t placed you just pick them up and drop them
what if it falls on another players' screen
ruins the illusion
yeah my bad i meant drop
LT2
ive made my input bye bye now
Thank you
aura
I’ll look into it
no problem
But I’m not sure I can find how lt2 did it
hax
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
e t h e r n e t
make it a legal requirement to play roblox
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
** You are now Level 2! **
What a pain