initial commit
This commit is contained in:
1 parent
3634209a4e
commit
f4f6028a88
37 files changed
+1121
-9
No files matched your search
@@ -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>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user