MkMike001
(MkMike001)
1
There is a tab in Editor preference to define a new surface type for the game. How can I define a Surface type in C++ Like Custom collision Chanel?
How to create Custom ECollisionChannel in C++
#define ECC_Test ECollisionChannel::ECC_GameTraceChannel2
#define SURFACE_Metal SurfaceType1
Update project DefaultEngine.ini
[/Script/Engine.PhysicsSettings]
+PhysicalSurfaces=(Type=SurfaceType1,Name="Metal")
If any problem let me know. My discord Andrew Bindraw #9014