Browsed by
Tag: rant

Unity Vector Comparison Rant

Unity Vector Comparison Rant

I recently ran into an interesting Unity feature that I didn’t know about previously. I kept having an agent get stuck in the same place for no apparent reason. I’ve spent two days trying to track down the problem and finally ran across this in the least expected place – a function written almost on day 1 of this project, over a year and a half ago. I’m trying to set my x position to 32. Since I’m generating an event…

Read More Read More