载入中...
搜索中...
未找到
ForceModels.h 文件参考
#include "common/Export.h"
#include <limits>
#include "common/Result.h"

浏览源代码.

类

struct  eve::physics::ForceVector
 Owning world-space SI vector; 2D uses XY with Z exactly zero. 更多...
 
struct  eve::physics::FieldRegion
 SI field support; Sphere with negative radius retains the unbounded convention. 更多...
 
struct  eve::physics::DirectionalField
 Directional acceleration in m/s^2, independent of body mass. 更多...
 
struct  eve::physics::DirectionalForceField
 Directional force in N, independent of the affected body's mass. 更多...
 
struct  eve::physics::RadialField
 Softened inverse-square field; positive strength attracts, negative repels. 更多...
 
struct  eve::physics::BuoyancyModel
 Displaced-volume buoyancy; caller supplies submerged volume and centroid. 更多...
 
struct  eve::physics::DampingModel
 Isotropic linear and quadratic drag against velocity relative to a medium. 更多...
 
struct  eve::physics::AngularDampingModel
 Isotropic angular drag against body-minus-medium angular velocity. 更多...
 
struct  eve::physics::WingModel
 Wing geometry and game-oriented continuous stall polar, all in SI/radians. 更多...
 
struct  eve::physics::WingSample
 Owning force and observable coefficients from a wing sample. 更多...
 
struct  eve::physics::FrictionModel
 Coulomb static/kinetic friction coefficients (static >= kinetic >= 0). 更多...
 
struct  eve::physics::TireModel
 Caller-owned wheel parameters; stiffness in N per unit slip / radian. 更多...
 
struct  eve::physics::TireInput
 Contact-frame sample: +X forward, +Y lateral; ground-relative m/s, N, Nm. 更多...
 
struct  eve::physics::TireSample
 Owning wheel step result; publish angularVelocity once after a successful step. 更多...
 
class  eve::physics::ForceModels
 Pure force evaluators for 2D XY slices and full 3D, returning owning SI values. @ownership Inputs are borrowed only for this call; no state or callbacks are retained. @thread Any thread with immutable inputs; reentrant and allocation-free on success. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 

枚举

enum class  eve::physics::FieldRegionKind { eve::physics::Sphere , eve::physics::RectangleXY , eve::physics::Box , eve::physics::Global }
 Spatial support; RectangleXY ignores Z, Box is axis-aligned in world space. 更多...
 

函数

Result< void > eve::physics::applyForceSI (Body &body, ForceVector force, ForceVector point)
 Apply an SI force to a 2D body at an SI world point, converting through its world meter. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks.
 
Result< void > eve::physics::applyForceSI (Body3D &body, ForceVector force, ForceVector point)
 Apply an SI force to a 3D body at an SI world point. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks.