1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-30 00:50:20 -05:00

Fix projectile angles of projectile weapons with no rotation

This commit is contained in:
Jbleezy
2024-04-16 21:08:05 -07:00
parent ed35b59f37
commit 4bd4a0d75f
6 changed files with 39 additions and 3 deletions

View File

@ -65,12 +65,13 @@ player_throw_cymbal_monkey(grenade, num_attractors, max_attract_dist, attract_di
return;
}
grenade.angles = (0, grenade.angles[1], 0);
grenade hide();
model = spawn("script_model", grenade.origin);
model.angles = grenade.angles;
model setmodel(level.cymbal_monkey_model);
model useanimtree(#animtree);
model linkto(grenade);
model.angles = grenade.angles;
model thread monkey_cleanup(grenade);
clone = undefined;