How do i make the marble launch off slopes at high speeds?
Maybe consider reducing the gravity and such on the rigidbody itself, that's what I'd do, it's probably interfering.
Prebo I reduced the gravity and speed of the speedup and marble, which made it much less buggy. Still, the marble can barely make it up the ramp. Is there a way to make the marble less affected by gravity when on a ramp, to emulate being launched off?
I suspect then if it's not the gravity it's probably the mass of the marble, try reducing that as well, you'll probably need to make it a lot lighter than you think to get the result that you want. You could indeed use an area2D and a polygon shape to maybe add way more force than normal on the ramp for sure. I recommend tweaking the settings of the marble more though because I think you want something more consistent looking at the design.
And yes, this is the thing about physics in general in games, you have to do a lot of tweaking and testing 😃 Noticed on your settings you do seem to have gravity scale quite high too. You have to take into account how small your marble is by comparison.
Prebo Yeah, That should work! The thing is, i changed the time scale to make the marble move faster, but it completely changed the physics for some reason. Is this a common issue?
Dipterocarpaceous Don't change the time scale if you're talking about the whole project, yes, this will probably bork the physics big time if you want things to behave consistently. It's like how I explained to a different guy who was asking why his car was flipping, sometimes you need to examine the physics of the object you're trying to mimic in real life. I actually got him video footage of real cars to demonstrate what I was on was on about.
When you think about it, when have you ever come across a marble that weighs 0.5kg? It doesn't make any sense to how small the object usually is so of course it's not going to work as expected, you should maybe even consider tweaking the marble to be even lighter.
© 2022 - 2024 — McMap. All rights reserved.