Reputation: 897
I tried to make touch event from every angle of a cube, but I can't make NearInteractionTouchable to cover whole cube. It is just cover half of my cube box collider.
I tried the touch sample from example scene, and it triggered touch event from any angle of the collider.
Scene configuration and unitypackage:
unitypackage:
https://1drv.ms/u/s!AjASC8dheotupcQxY45ydz0qUn0eeA
Upvotes: 0
Views: 307
Reputation: 2630
Actually, it looks like to answer #1, I am able to make a cube that is touchable from 6 sides, using the following configuration. I am able to touch the cube from all six sides.
Upvotes: 1
Reputation: 897
This is current status of the kit, might be change in the future.
Thanks for Julia at HoloDeveloper Slack on giving current status / detail of Near Interaction Touchable script.
Here they are:
1) how can I make my cube touch-able from all sides
2) how can I get the near interaction touchable to cover the entire face of a cube
Answer:
for 1) currently nearinteractiontouchable will just dispatch to a surface, so to make a cube touchable from 6 sides you would need to add 6 nearinteractiontouchables, one for each side of the cube.
for 2) it sounds like your configuration is wrong.
From me on number 2, it was my wrong config, I was trying different number of Local Center, Up, Forward and Bounds number.
For those who has another thought or case that similar to this one, please make comment or add your own solution.
Thank You
Upvotes: 0