载入中...
搜索中...
未找到
#include <Jolt/Jolt.h>#include <Jolt/Physics/Constraints/DistanceConstraint.h>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::physics |
| Optional physics backend for vehicle mobility and body attach. | |
| namespace | eve::physics::jolt |
函数 | |
| JPH::Ref< JPH::TwoBodyConstraint > | eve::physics::jolt::createDistanceConstraint (JPH::Body &, JPH::Body &, const JPH::DistanceConstraintSettings &) |
| Native Jolt solver composition for independently configurable distance spring, limits and motor. @ownership Owned by the joint provider and Jolt PhysicsSystem; both body references follow TwoBodyConstraint. @thread Mutations run between updates. Solver callbacks use Jolt's locked bodies and never call engine code. | |
| void | eve::physics::jolt::setDistanceLength (JPH::TwoBodyConstraint &, float) |
| Updates an already validated private distance constraint, between simulation steps. | |
| void | eve::physics::jolt::setDistanceSpring (JPH::TwoBodyConstraint &, bool, float, float) |
| Configures its independent spring after validation; no allocation or callbacks. | |
| void | eve::physics::jolt::setDistanceLimits (JPH::TwoBodyConstraint &, bool, float, float) |
| Configures its independent hard limits after validation; no allocation or callbacks. | |
| void | eve::physics::jolt::setDistanceMotor (JPH::TwoBodyConstraint &, bool, float, float) |
| Configures its independent motor after validation; no allocation or callbacks. | |
| float | eve::physics::jolt::distanceImpulse (const JPH::TwoBodyConstraint &) |
| Returns the owning scalar sum of distance solver impulses after an update. | |