|
|
@ -680,9 +680,7 @@ namespace MWPhysics
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get());
|
|
|
|
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get());
|
|
|
|
|
|
|
|
|
|
|
|
mActors.emplace(ptr, std::move(actor));
|
|
|
|
mActors.emplace(ptr, std::move(actor));
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int PhysicsSystem::addProjectile (const MWWorld::Ptr& caster, const osg::Vec3f& position, const std::string& mesh, bool computeRadius, bool canTraverseWater)
|
|
|
|
int PhysicsSystem::addProjectile (const MWWorld::Ptr& caster, const osg::Vec3f& position, const std::string& mesh, bool computeRadius, bool canTraverseWater)
|
|
|
|