AActor incompatible with UPrimitiveComponent
An error keeps popping up stating AActor is incompatible with UPrimitiveComponent, which is happening at the Generated_Body line. It must have something to do with my TriggerEnter function Please explain.
asked Jun 09 '17 at 11:11 PM in C++ Programming
This could be a lot of things, but the most obvious is, did you remember to #include "Boundary.generated.h" in Boundary.h?
Also, the name of the third argument of TriggerEnter changes between your declaration and definition. (OtherBodyIndex vs OtherBodyIndx). I wouldn't expect this to cause trouble in normal C++, but you never know once UE4's reflection and intellisense get involved, it may be confusing them.
answered Jun 12 '17 at 10:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here