Hello everyone,
I am creating a planetary game in which a first person character can walk on the surface of an orbiting planet. I have all the gravity and orientation done, however, when the planet moves, rigid bodies near the surface need to have air resistance or they’ll not be caught by the planet. Since, the planet is moving I cant use the drag built into unity. Somehow I need air resistance that is relative to the planet’s velocity and rotation. Later on I will adding space stations, so in a more broader sense I need an area of influence for air resistance that moves with the defined object. Does anybody have a plan on how I could achieve this with scripts. I already know the air resistance equation.
Thanks,
Austin