I was referencing the test_basic.html and trying to change the ground types to a convex mesh. I loaded in a mesh with GLTFLoader from THREE. I also went ahead and added it to the scene and can visibly see it. I then repurposed some of the pre-existing ground code in attempt to create my own based on the custom mesh. I set the type to convex, and then set the shape to the geometry buffer of my custom GLTF loaded object. Unfortunately I keep getting the same error:
Cannot read properties of undefined (reading 'parent')
Hello,
I was referencing the test_basic.html and trying to change the ground types to a convex mesh. I loaded in a mesh with GLTFLoader from THREE. I also went ahead and added it to the scene and can visibly see it. I then repurposed some of the pre-existing ground code in attempt to create my own based on the custom mesh. I set the type to convex, and then set the shape to the geometry buffer of my custom GLTF loaded object. Unfortunately I keep getting the same error:
Cannot read properties of undefined (reading 'parent')
Let me know if you are able to assist.
Thanks, coolcomfort