Given a SCNNode
, how can I determine if a point (specified in the node's coordinate system) is contained inside that node's geometry?
Alternatively, if simpler, how can I test if a point is contained within the node's bounding box?
Given a SCNNode
, how can I determine if a point (specified in the node's coordinate system) is contained inside that node's geometry?
Alternatively, if simpler, how can I test if a point is contained within the node's bounding box?
Copyright © 2021 Jogjafile Inc.
I'd be surprised if there isn't a better answer than this, but I've not found one, so here's what I've got.