+1
Under review

Problem with booleans

Dutchottie 10 years ago updated by GameDraw 10 years ago 1

Hi

I keep running into the same problem with booleans in GameDraw.

I create a cube, then I cut out (subtract) using another smaller cube so I'm left with a cube with a rectangular dent (not through-and-through).

That works fine.

Now I want to cut out a shallow half cylinder from the result of the previous boolean operation.

So I take that result, create a thin cylinder and place it halfway into the newly created cube (from the first boolean). Then I tell GameDraw to subtract again. Now instead of a new result it creates a null-object (at (0,0,0)) and throws these errors:


transform.position assign attempt for 'door_cut' is not valid. Input position is { NaN, NaN, NaN }.

UnityEngine.Transform:set_position(Vector3)

GameDrawEditor.PivotManager:CenterObjectPivot(GameObject)

GameDrawEditor.BooleanEditor:drawBooleanOperations()

GameDrawEditor.GDEditor:DrawBooleanGUIWindow(Int32)

UnityEditor.DockArea:OnGUI()


UnityException: You can generate UVs only for meshes with vertices inited.

UnityEditor.Unwrapping.GeneratePerTriangleUV (UnityEngine.Mesh src, UnwrapParam settings)

UnityEditor.Unwrapping.GeneratePerTriangleUV (UnityEngine.Mesh src)

GameDrawEditor.BooleanEditor.drawBooleanOperations ()

GameDrawEditor.GDEditor.DrawBooleanGUIWindow (Int32 id)

UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID)

UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style)

UnityEditor.DockArea:OnGUI()



Answer

Answer
Under review
Can you send me the objects and a scene with the exact state that is causing the issue
Answer
Under review
Can you send me the objects and a scene with the exact state that is causing the issue
Hi guys,
Sorry it took some time.
Seems the Boolean module works just fine now.
So you can close this call.
Thanks for getting back to me.

Marco