Hello, I want my opponent to pivot towards the player with a pivot for his weapon, does anyone know how to do that?
Really, this is a very low effort post. You need to provide some info on EXACTLY what you're asking for. A complete general script solution that fits perfectly into what you've got? Or are you asking about how to perform calculations with Transforms? Or Physics? TBH most of your posts feel like this so please spend some time describing what you've tried and which bits you don't understand rather than making others put all the effort into asking. Also, this isn't a post for the 2D forum, at best it's a post for the scripting forum because it's so general.