Is it possible to simplify the drag equation for 3D programming purposes?

  • Context: Undergrad 
  • Thread starter Thread starter Gibbon
  • Start date Start date
  • Tags Tags
    Drag
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
Gibbon
Messages
22
Reaction score
0
Simplified drag equation??

Hi, I am a 3D programmer and I am trying to apply drag to some of my objects in my software.

After looking around and from previous research i know that calculating drag isn't such a simple thing to do and involves knowing air density, object area and the drag coefficient.

But, whilst research on the net i realized a well used 3D engine "unity3D" allows you to add a ridig body into the scene, give it some mass and then "simply" set its drag and angular drag properties without any inputs of air density, area or any coefficients?

So how could this be done?

Thanks
Andy
 
Physics news on Phys.org


You just do it.
The drag coefficients are just numbers.
You can calculate the correct numbers from all the data you mentioned, or you can guess a figure, try it out, adjust it, and so on ... trial and error.
Most programmers are not as interested in making a realistic point-for-point physical simulation as they are in making a fun experience for the gamer.