Download

Collision with Procedural Mesh generated via Augmented Reality

I was wondering if anyone had any experience with interacting with using AR to create surfaces and interacting with them (Not simply getting their location and spawning / moving actors) I have teen struggling to interact with planes that are being creating using ARCore, I’ve stripped my project right the way back to throwing a cube onto a table and I still can’t get it to simple collide with the planes!

I’ve tried a few things such as generating a Procedural Mesh based on AR Geometries which is working fine, but I cannot for the life of me get anything to collide with them. The procedural mesh is spawning perfectly and in the right place, but my cube just falls through it.

https://preview.redd.it/k72bv6akp7r41.png?width=1920

The AR Session data set has some new items at the top, such as Generate Mesh Data and Collision but I’ve not been able to find any information on how to actually access this data!! :

https://preview.redd.it/r02udb5yp7r41.png?width=1920

Any help would be appreciated!

Thanks!

I think you would need to create the collision meshes, though that’s as much as i know.
There’s a checkbox for creating collision meshes on “CreateMeshSEction” node for a procedural mesh component. Have you tried that already?

Im also interested in this. but couldn’t make it work. i wonder if its only working for MagicLeap or ARKit…

I’m interested in seeing how you’ve created the procedural meshes, could you share that please?