Threads and tasks
This commit is contained in:
@@ -656,6 +656,8 @@ PhysicsModule::PhysicsModule(flecs::world &ecs)
|
||||
}
|
||||
// gr.velocity.y = 0.0f;
|
||||
// v.y = 0.0f;
|
||||
OgreAssert(v.squaredLength() < 1000.0f,
|
||||
"shitty velocity setting");
|
||||
ch->SetLinearVelocity(
|
||||
JoltPhysics::convert<JPH::Vec3>(v));
|
||||
gr.velocity = Ogre::Vector3::ZERO;
|
||||
|
||||
Reference in New Issue
Block a user