Revert "Calls directly MovementSolver::traceDown instead of"

This reverts commit c1e50f530b.
pull/3097/head
fredzio 3 years ago
parent ee1ec53cd9
commit de9ee2f196

@ -713,7 +713,8 @@ namespace MWPhysics
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get(), canWaterWalk);
// check if Actor is on the ground or in the air
MovementSolver::traceDown(ptr, ptr.getRefData().getPosition().asVec3(), actor.get(), mCollisionWorld.get(), 10);
traceDown(ptr, ptr.getRefData().getPosition().asVec3(), 10.f);
mActors.emplace(ptr, std::move(actor));
}

Loading…
Cancel
Save