initial commit

This commit is contained in:
Alex committed 2024-01-22 11:54:02 +01:00
1 parent 3634209a4e
commit f4f6028a88
37 files changed
+1121 -9

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { RigidBody } from "@react-three/rapier";
export const Ground = (props) => {
return (
<RigidBody type="fixed" {...props}>
<mesh transparent receiveShadow rotation={[-Math.PI/2 , 0 ,0]}>
<planeGeometry args={[1000, 1000, 1000]} />
<meshStandardMaterial color="yellow" opacity={0} transparent/>
</mesh>
</RigidBody>
);
};