Module veloren_common::comp::phys

source ·

Structs

  • The average density (specific mass) of an entity. Units used for reference is kg/m³
  • Used to forcefully update the position, velocity, and orientation of the client
  • Position
  • Used to defer writes to Pos/Vel in nested join loops
  • Cache of Velocity (of last tick) * dt (of curent tick) It’s updated and read in physics sys to speed up entity<->entity collisions no need to send it via network
  • Velocity

Enums