locked
SCNNode Bounding Box RRS feed

  • Question

  • User380114 posted

    After guys

    I am currently working with the iOS ARKit, I am currently trying to implement a piece of code

    func getChildBoundingBox() -> (v1: SCNVector3, v2: SCNVector3) { let firstChild = self.childNodes[0] return (firstChild.boundingBox.max, firstChild.boundingBox.min) }

    Using the SceneKit code, I should be able to use the

    boundingBox.Min and Max

    But these are hidden behind

    GetBoundingBox()

    Which requires refs but cannot pass itself :neutral:

    Should I be using Urho instead of SceneKit as according to this API page

    Urho.BoundingBox/

    These are exposed in the Urho Lib

    Friday, November 30, 2018 3:05 PM

Answers

  • User369978 posted

    Duplicate of https://forums.xamarin.com/discussion/145622/scnnode-bounding-box

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, December 3, 2018 8:21 AM