Arfoundation-samples: Throwing objects without ARPlanes

Created on 8 Nov 2020  路  11Comments  路  Source: Unity-Technologies/arfoundation-samples

Is it possible in ARFoundation to use a depth mode to throw an object somewhere in the room without generating any planes?
I'm using an Android device and I want to create a board game.

arcore how to stale

All 11 comments

I'm not sure what you are asking. "Throwing" an object in Unity is not related to plane detection or environmental depth textures. Can you explain your use case in more detail? An example of what you want to do would be useful.

https://www.youtube.com/watch?v=EBLPsgz2mx0

In the 3:20 minute you can see, that the ARCore API lab can throw objects on the table or on the floor without generating an ARPlane. I want to generate with ARFoundation an invisible Depth Mesh to throw a dice on the floor or on the table.

They are generating a collision mesh from the depth texture. You can see how they do this in this example.

Yes, a collision mesh. Thank you. Is it also possible in the latest ARFoundation version to create a collision mesh?

ARFoundation provides the depth texture from ARCore, but you would have to do something similar to that sample in order to generate a collision mesh from it.

Thank you! This looks neccessary for me.

Theoretically, I can adapt the colliderMesh code and replace some lines with the depth texture of ARFoundation, right?

Theoretically, yes.

@tdmowrer thank you for your advice.

In will try to adapt the collisionmesh for ARFoundation.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

It will take some time. I try to rewrite the collision mesh code for ARFoundation.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sam598 picture sam598  路  3Comments

alessiograncini picture alessiograncini  路  7Comments

Stefjs picture Stefjs  路  6Comments

rvegele picture rvegele  路  9Comments

kennethlng picture kennethlng  路  5Comments