React Three Fiber <Center>


Have some problem with “< Center >”
when change array to another , positions of elements dont render with < Center >

Without render

With Render

center is an expensive operation, it centers only once, it centers all the geometry you throw into it. if you want to center again, for instance if something changes, there is a cacheKey prop that can hold a value, if that value changes it will re-trigger it.

1 Like

Thanks! will try :smiley: :love_you_gesture: :crazy_face: