Hello I have problem which is I make float with speed 25 when the orthographic camera was with zoom 10 the movement of the float was amazing but when I made the zoom 1 to simulate the right size like pixels the movement become only rotate and don’t move to up and down I have this code
<Canvas orthographic camera={{ position: [0, 0, 200], zoom: 1 }}> <ContainerBubblesWorld /> </Canvas>
<RigidBody
ref={api}
type={dragging ? "kinematicPosition" : "dynamic"}
enabledRotations={[false, false, false]}
enabledTranslations={[true, true, false]}
linearDamping={10}
angularDamping={1}
friction={0.1}
position={[
-x,
-y,
0
]}
colliders={false}
gravityScale={(Math.abs(radius - index) /70)}
>
<BallCollider args={[radius + 10]} />
<Float speed={25}>
<mesh
>
<circleGeometry args={[radius, 64]} />
<meshBasicMaterial transparent opacity={0.01} />
{text && <Text font="Inter-Regular.woff" letterSpacing={-0.05} position={[0, 0, 0.01]} fontSize={scale /3} material-toneMapped={false}>{text}</Text>}
</mesh>
<mesh scale={0.95} position={[0, 0, 0.01]}>
<ringGeometry args={[radius,radius + 2,64]} />
<meshBasicMaterial color={dragging ? "orange" : "rgba(100, 0, 0, 0.1)"} />
</mesh>
<Image position={[0, radius/2, 0.01]} scale={radius / 3} transparent toneMapped={false} url={image} />
{text && <Text font="Inter-Regular.woff" letterSpacing={-0.05} position={[0, -radius/2, 0.01]} fontSize={scale /3} material-toneMapped={false}>12121</Text>}
</Float>
</RigidBody>
so please what is the problem I make when change the zoom of the camera