I 'm currently trying to active/deactivate tick outside the constructor , the fact is i don’t need it while there is no overlap event , and i don’t need it after the overlap’s end , I tried this :
You have it the other way around. You must use SetActorTickEnabled when toggling ticks outside of the constructor. Whereas in the constructor, you can just set values on PrimaryActorTick directly and the necessary registration will be done during actor construction.
Look at the code for SetActorTickEnabled and you’ll notice it expects PrimaryActorTick.bCanEverTick to be true. This might be the value you were referring to that has to be set in the constructor. It is false for Actors by default, so if you’ve subclassed an actor without setting bCanEverTick to true, it won’t ever be able to be registered for ticking. Put this in your actor constructor: