- Home /
Physics Casting Performance
I started doing pathing and movement of charachters interacting with the environment, and was wondering about the performance of Ray, sphere, capsulrcasting, and the castAll methods.
how intensive would it be to have a thread that did the constant physics casts from multiple characters out around them, and give the individual ai a structure detailing its environment?; so that it could path, or a player could wall run?
what im asking about is the environment detection efficiency through Physics casting, not the interaction or AI or gameplay
Answer by Joshua · Aug 22, 2011 at 02:07 AM
This very much depends on what platform you're building for. If it's for standalone or webplayer it should be fine
Note that the physics is done on a different thread automatically already.
Your answer
Follow this Question
Related Questions
What is wrong about this RaycastHit Event??? 1 Answer
Profile physics.simulate 1 Answer
Physics.SphereCastAll ignore objects in opposite direction? 1 Answer
Why are RaycastHit surface normals of corners not interpolated or otherwise correct? 1 Answer
How to stop RaycastHit2D from using the last object in the hierachy? 1 Answer