View Single Post
Old 12-15-2017, 01:30 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,465
Take a look at the vizproximity library if you're not already using it. This allows you to detect if the user gets within a certain range of an object. The proximity sensor can be attached to the object so you don't need to know it's coordinates. It's also possible to get the transform of model sub-parts. See the example code at the bottom of the hierarchical models page.
Reply With Quote