Pointer to incomplete class "PhysicsBodyData" #11
Replies: 1 comment 1 reply
-
Hey @louishamelers , Thanks for opening up this discussion! I gave your repo a quick look and it looks like you're using two different types in these two files. In the case of I gave the I suspect the most immediate way to resolve this would be to simply use a If that doesn't work then I'd suggest opening up an issue directly with I hope this helps narrow down the issue! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to access the PhysicsBody properties but I keep getting the "Pointer to incomplete clas" error:
My character.hpp has
#include <physics.hpp>
and definesPhysicsBody physicsBody
. The weird thing is that I have a seperate player class defined in a .hpp file which looks like this:Which seems to work without a problem...
I have no clue where this problem could originate from, any and all help is very much appreciated. You can see the full repository here for more details.
Thanks in advance. Cheers!
Beta Was this translation helpful? Give feedback.
All reactions