Another issue with simple collision here with UE 4.16.2 and the RMC from the marketplace. Basically the procedural meshes apparently have no collision or at least I every time I use the blueprint function “GetClosestPointOnCollision” for them I get the error “LogPhysics:Warning: GetDistanceToBody: Component (/Game/Maps/UEDPIE_0_evaluation.evaluation:PersistentLevel.Room_7.Floor) has no simple collision and cannot be queried for closest point.”
I have an own class, that has a couple of RuntimeMesh Components defined like this:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
URuntimeMeshComponent* Floor;
and initialized like that in the class constructor:
Floor = CreateDefaultSubobject<URuntimeMeshComponent>(TEXT(“Floor”));
In the runtime I do
Floor->CreateMeshSection(0, Vertices, Triangles, Normals, UVs, VertexColors, Tangents, true);
Floor->SetRelativeLocation(delta);
and leave it like that.
Here is how the component details look like in the editor:
There was somewhere a report that having only one RuntimeMesh component in the class solves the issue, but it didn’t for me.
Any hints towards solution for this issue will be appreciated!