Waw_K
(Waw_K)
1
Hi!
I’m trying to use code from this wiki page:
Everything looks good except that I’m getting this error
error C3861: 'P2UVector': identifier not found
I included this headers to cpp
#include "PhysicsEngine/BodySetup.h"
#include "PhysicsPublic.h"
#include "PhysXIncludes.h"
#include "ThirdParty/PhysX/PhysX-3.3/include/geometry/PxTriangleMesh.h"
#include "ThirdParty/PhysX/PhysX-3.3/include/foundation/PxSimpleTypes.h"
#include "ApexDestructibleAssetImport.h"
“PhysX” and “APEX” modules are also added.
Any ideas?
karolsob
(karolsob)
2
unreal 4.14:
P2UVector:
#include "PhysXPublic.h"
also 3 other updated includes for A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums :
#include "ThirdParty/PhysX/PhysX_3.4/include/geometry/PxTriangleMesh.h"
#include "ThirdParty/PhysX/PxShared/include/foundation/PxSimpleTypes.h"
#include "PhysicsEngine/BodySetup.h"