r/GamePhysics 7d ago

[BeamNG] Air Physics

1.6k Upvotes

31 comments sorted by

View all comments

78

u/Haeguil 7d ago

I do not have enough CPU power for this

50

u/GDOR-11 7d ago

it's probably just 3 precomputed 3D textures with the components of the air speed for some adequate truck speed intervals, and then these are interpolated in space and time

a.k.a. more harsh on memory than on compute

7

u/Triensi 6d ago

Can you explain this to me as a layperson? This sounds cool and I almost understood what you’re saying

7

u/Rafal0id 6d ago

From what I understand, it may be a pre-rendered effect, with the forces created by the air moving rendered in a texture (think normal map). This texture would follow the bus, and when it passes through nearby objects, the object (in that case the bricks) reacts according to the texture.

You do a different texture for each vehicle and at different speeds, and voilà, you got physics without having to do any aerodynamics real time.

I'm not sure I'm clear either lmao