issue with generating colliders
See original GitHub issueHello I’m using CuboidCollider for generating a limitless flat plane problem is visible in image below

first three block on left have collider and other three on right have no any collider
code for each of them is same and don’t now why it’s ignoring that part
and when I refresh the page
it keeps ignoring that three!
I’ll attach the Code here too
<RigidBody colliders={false} type="fixed"> <Center position-y={-2}> <mesh material={props.material} receiveShadow scale={[props.scale, 4, props.scale]} > <boxGeometry /> </mesh> </Center> <CuboidCollider args={[1, 1, 1]} scale={[props.scale / 2, 2, props.scale / 2]} position={[0, -2, 0]} /> </RigidBody>
is there any way to solve this issue? Thank you
Issue Analytics
- State:
- Created 10 months ago
- Comments:8 (3 by maintainers)

Top Related StackOverflow Question
ok I’ll try that I’ll let you know the result thanks
@trebeljahr It does sound like the slow initiation of the meshes might be the culprit in that instance.
I would expect this scenario to cause that:
Since the RigidBody is initiated with no mesh inside, and it won’t re-initiate after the mesh has loaded. A workaround could be to use suspense, and wrap the entire thing.