Collison event vs Overlap event
As I understand it (noob alert), collision events spam when an actor is at rest, whereas overlap events only fire once on begin_overlap and end_overlap.
So is it fair to say that in many cases overlap events can be used in place of collision events to improve efficiency? At the cost of maybe some accuracy?
asked Oct 22 '14 at 12:08 PM in Everything Else
I really depends on what you are trying to do. If you are a little more specific about what you want to do I would be able to give you some advice as to which is better.
I would not go as far as to say that overlap is more efficient then collision or blocking as it is called. Blocking runs in O(1) time. this means that it runs in constant time which means it is virtually instant meaning it takes no time for the computer to complete that operation. Blocking will simply check did I hit something? Once it find something it will compute all the necessary things for blocking. Overlap does the same it will check did I hit something? And then it will compute all the necessary things for the overlap.
answered Oct 22 '14 at 01:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here