Hey guys, I’m trying to make a leviathan for my game, and so far it has been going great! However I do have a small issue which I hope is easy to fix.
So right now, my prototype works as intended, it follows the player and faces the player. I made it using a basic distance checker (script), align position (for the movement), and align orientation (to make it look at the player).
However, during testing, I found that it would spin like crazy whenever it would bump into the player as seen in this video:
Hi, I’m not quite sure what the cause of the problem is, but I think it might be this:
If the leviathan (currently a cube) is not anchored, it will cause it to get affected by physics. When it bumps into the player, Roblox’s physics system sends it spinning away, while the align oritentation tries to make it face the player again, but the physics is fighting it.
Hello, I solved this already. Its exactly as you said, its physics related. I solved it by adding another align orientation constraint, and by assigning a collision group to the part.
Thanks for replying though! I really appreciate your attempt to help.