Post

Replies

Boosts

Views

Activity

Reply to RoomPlan: Use the transform and dimensions to generate 4 corner points
So this is how I pulled something of kind of quick and dirty. The dimensions vector is [width, height, length] And the central point of the door can be defined as: Point(door.transform[3].x, door.transform[3].y, door.transform[3].z)  I'm seeing the length come up as zero for doors.  So I defined the upper left point as:  upperLeftPoint = Point(centerPoint) upperLeftPoint = upperLeftPoint.translate(rightV.negate(), doorWidth/2) upperLeftPoint = upperLeftPoint.translate(upV, doorHeight/2)
Topic: Graphics & Games SubTopic: SceneKit Tags:
Jun ’22
Reply to SwiftUI: memory spike when keyboard is presented
I'm seeing the exact same thing. Except my memory spikes up around 1.8 gb. I tried the .ignoresSafeArea, but it made no difference.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to RoomPlan: Use the transform and dimensions to generate 4 corner points
I found it
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to RoomPlan: Use the transform and dimensions to generate 4 corner points
So this is how I pulled something of kind of quick and dirty. The dimensions vector is [width, height, length] And the central point of the door can be defined as: Point(door.transform[3].x, door.transform[3].y, door.transform[3].z)  I'm seeing the length come up as zero for doors.  So I defined the upper left point as:  upperLeftPoint = Point(centerPoint) upperLeftPoint = upperLeftPoint.translate(rightV.negate(), doorWidth/2) upperLeftPoint = upperLeftPoint.translate(upV, doorHeight/2)
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to SCNodes disappear and then reappear
when I say "calling .hide()" we are setting .isHidden to true in an extension method.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to SCNodes disappear and then reappear
Here is a video that better illustrates the issue: https://youtube.com/shorts/wrye66lNOns
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jun ’23