In G1 classic, an object is highlighted brighter with ist's name on top of it, once marked/highlighted/pointed towards. Good thing is, that HVR recognizes "pointing" towards an object out of the box (we can see it with the default remote grabbing feature of items). We now need to extend this feature.
[x] Understand and reuse HVR remote grabbing feature (as it already calculated the "pointing" of our hands towards an object and should be reused/extended if possible.)
[x] Brighten up the highlighted object (shader? etc.? Please ask on Discord for ideas.)
[x] Print name of object (Axe, Bloodwyn, ...) on top of it. (Either put it on the actual prefab or calculate "top" based on object collider's bounding box)
[x] Implement logic for
[x] oCItem
[x] oCMobLadder
[x] oCMobFire
[x] oCMobContainer - currently trying to act as physical objects and clip through world!
[x] oCMobDoor - currently trying to act as physical objects and clip through world!
[x] oCMobBed
[x] oCMobWheel
[x] oCMobSwitch
[x] oCMobInter
[x] Optimize label positions to work properly for Ladders (very long) and various small and big items.
[x] Bonus: Print also amount of item next to its name. e.g. Beer (3x)
In G1 classic, an object is highlighted brighter with ist's name on top of it, once marked/highlighted/pointed towards. Good thing is, that HVR recognizes "pointing" towards an object out of the box (we can see it with the default remote grabbing feature of items). We now need to extend this feature.