Forum rules - please read before posting.

StateHandler.update() lots of raycasts

What is it in StateHandler.update() that causes so many calls to Physics.raycast? There's so many in there my games starting to lag again, so looking for a way to optimise this. I have a lot of npcs and a lot of hotspots, but the npcs are all just on dumb paths, no rigids, no pathfinding etc.  AC 1.62.6,unity 2018.2.21f.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.