Module veloren_common_systems::phys

source ยท

Modulesยง

Structsยง

Functionsยง

  • calc_z_limit ๐Ÿ”’
  • capsule2cylinder ๐Ÿ”’
    Find pushback vector and collision_distance we assume between this colliders assuming that only one of them is capsule prism.
  • closest_points ๐Ÿ”’
    Returns the points on line segments n and m respectively that are the closest to one-another. If the lines are parallel, an arbitrary, unspecified pair of points that sit on the line segments will be chosen.
  • fluid_density ๐Ÿ”’
    The density of the fluid as a function of submersion ratio in given fluid where it is assumed that any unsubmersed part is is air.
  • integrate_forces ๐Ÿ”’
  • projection_between ๐Ÿ”’
    Find pushback vector and collision_distance we assume between this colliders.
  • Returns whether interesction between entities occured
  • simulated_wind_vel ๐Ÿ”’
    Simulates winds based on weather and terrain data for specific position