react-three-csg
react-three-csg copied to clipboard
Base geometry without any Additions or Subtractions ignores the scale
I dont know if this is a bug or expected bahaviour, but in this sandbox https://codesandbox.io/s/csg-house-forked-phdnhl?file=/src/App.js I conditionally add Subtractions only when there is enought space fore it. If the contion is true, everything is fine. But when it is false and only Base component remains, the scale of Base component is Ignored. Simple but stupid fix is to add Addition with zero scale. If this is no bug, how coul I do this in a proper way. Than you.
Hey! did you solve this?
No, still using something like<Addition geometry={box} scale={[0, 0, 0]} />when needed
uhmm, annoying. I'm dealing with the position.
If I try to use
<Base position={position} geometry={geometry}>
Base completely ignores the position and always aligns with the centre [0,0,0].
Any ideas on how I can solve this?
* I have tried to put a mesh as a parent with the position but it doesn't care either
@drcmda @isaac-mason @Sam-Apostel