载入中...
搜索中...
未找到
ForceApplication.cpp 文件参考
#include "physics/forces/ForceMath.h"
#include "physics/Body.h"
#include "physics/Body3D.h"
#include "physics/World.h"
#include <limits>

浏览源代码.

命名空间

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

函数

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.