#Physics bug with slime npc (animation, bodygyro)

1 messages · Page 1 of 1 (latest)

dire sapphire
#

Anyone else having bugs with physics recently?

Upon joining the server i attack my slime npc, and the slime npc attacks me with a skill where it plays an animation + uses bodygyro to make it face me

For the first time this skill runs - the bodygyro doesnt change my npc's orientation at all (confirmed bg is actually being created and all code is running), and animation doesnt appear to be playing (confirmed animation code is running)

but after the first time this code runs, the bodygyro and animation function just fine.

incase anyone suggests preloading animations:
a) that's not the problem. this seems more like a physics issue since the bodygyro is having the same/similar problem as the animation
b) i am actually preloading the animation

video demonstrating this problem (youll notice the first time the slime uses the "slime blast" skill at me, the projectile goes towards me yet no animation plays, and the slime just continues to stare into the void; in the second or third time the slime uses the skill at me, you clearly see what im talking about (stuff starts working as its supposed to):

https://gyazo.com/53ddbcf841db1978c13f05491e5c1671