8thwall / web

8th Wall Web projects and resources.
515 stars 326 forks source link

Detecting object distance to camera #188

Closed ismaildkc closed 2 years ago

ismaildkc commented 2 years ago

Hi

I'm trying to detect object distance to camera. How can i figure it out? Firstly i need to generate objects randomly in to viewport and need to disappear when the camera too close to object.

atomarch commented 2 years ago

For general "how to" questions like this, please post them on our Slack channel: www.8thwall.com/slack