Hi kylawl,
I’ve downloaded the project and noticed a few things.
First I was getting a crash inside the raycast code. The reason is that the number of materials returned in UProceduralMeshComponent::GetNumMaterials is 1, but then later in UProceduralMeshComponent::GetPhysicsTriMeshData we are setting the material indices to be 0,1,…11 which would indicate we have many materials.
The line CollisionData->MaterialIndices.Add(i); should be changed to CollisionData->MaterialIndices.Add(0);
I would add this to the wiki, but I figured it’d be easier to mention to you since we’d want to update the github project as well.
Anyway after I fixed this first issue I was able to move the cube and the raycasts worked correctly.
What happens when you use the command pxvis collision? When I use it I see the procedural cube in the right location.