MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / AddForceAtPosition

Method AddForceAtPosition

Source/Engine/Physics/Actors/RigidBody.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void RigidBody::AddForceAtPosition(const Vector3& force, const Vector3& position, ForceMode mode) const
256{
257 if (_actor && GetEnableSimulation())
258 PhysicsBackend::AddRigidDynamicActorForceAtPosition(_actor, force, position, mode);
259}
260
261void RigidBody::AddRelativeForce(const Vector3& force, ForceMode mode) const
262{

Callers

nothing calls this directly

Calls 1

GetEnableSimulationFunction · 0.85

Tested by

no test coverage detected