We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7125324 commit d552eaeCopy full SHA for d552eae
1 file changed
src/g_actors.cpp
@@ -489,7 +489,6 @@ void GraphXPlayer::doMovement(int direction[2])
489
{
490
if(jph_character == nullptr)
491
return;
492
- PRINT_MARKER
493
JPH::Vec3 current_velocity = jph_character->GetLinearVelocity();
494
JPH::Vec3 wish_velocity = JPH::Vec3(0.0f, 0.0f, 0.0f);
495
wish_velocity += convertMath<JPH::Vec3>(orientation_grounded_front) * static_cast<float>(direction[0] * movement_speed);
@@ -516,7 +515,6 @@ void GraphXPlayer::doMovement(int direction[2])
516
515
if(new_velocity == current_velocity)
517
518
jph_character->SetLinearVelocity(new_velocity);
519
520
}
521
522
void GraphXPlayer::doMouseMovement(glm::vec2 mouse_offset)
0 commit comments