So I made a roller coaster, and once it arrives to the station, guests can sit in the chairs on the carts. This works just fine in PC and there are no issues. When playing in mobile, however, the carts will spaz out and fly off the tracks, even though all I’m doing is taking a seat. Why is it that it works fine when someone playing on PC sits down but the ride breaks down whenever someone on mobile sits?
It could be a problem with the mobile rendering. Mobile devices have a lot less computing power compared to a normal pc. So all those physics calculations will sometimes error on a mobile device and cause your physics engine to break.
That makes a lot of sense. So that means my game won’t be able to function on mobile devices, and I’ll have to restrict my game to PC only, which I really didn’t want to do but I guess I have no choice. At least its nice to know that the problem isn’t coming from my end.
Yeah you could also try to tweak and edit it to make it perform properly. You could also make a mobile version of your game that has less unions, parts and heavy physics.
I’ve tried removing as many parts and unions as I could but it still has the same issues. I even have one place that has very little parts/unions compared to other games that can be played just fine on mobile, but for some reason the physics engine continues to break. It’s super glitchy on mobile. I had to restrict my place to PC only .
If you’re using roblox built in physics for the roller coaster, this weirdness makes sense. If you’ve ever played Jailbreak on a bad computer, you’ll know that cars bounce a lot due to roblox not being able to run physics at 240hz, and as such the physics are less precise. Mobile is less powerful, and I don’t think most phones can run physics at 240hz. What I would do is set the network owner of the cart to the server to make sure a laggy player doesn’t break the game, as this isn’t just a mobile issue, it’s an issue with any device that can’t run physics at 240hz. If that doesn’t work well, using something that CFrames the cart might be a better idea, as that allows for you to have the game run on mobile and pc.
I was able to fix the issue, but the game can sometimes still break if theres only mobile players. How do I set the network owner of the cart to the server? (Sorry I’m not good at scripting so idk how to do it?)
Thank you! It’s working perfectly now! The ride is no longer breaking down when someone on mobile is playing. It’s still laggy when playing on mobile but the ride isn’t breaking down for others. Thx