Is it possible to have a vehicle stick to a platform when it flips?

I’m looking to create platforms that flip at random - and flip the vehicle or character on them at the same time when they turn, but only if conditions are met. At the moment I’m not sure if this would just need parenting, or some kind of gravity effect.

In my opinion parenting would be your best bet and that messing with gravity won’t work out so well. Taking the gravity route, you would end up having to apply a different “gravity” to different objects in your scene. I could be wrong, it depends on your game and your scene. I believe something along the lines of the following would work well enough though.

if (condition1)

   if (condition2)

      if (condition3 && condition4)
         
       vehicle.parent = platform;