feat: Enhance conveyor collider functionality with direction toggle and visual indicators

This commit is contained in:
2025-08-19 10:19:18 +05:30
parent 361480578a
commit 7794e51d1f
9 changed files with 684 additions and 258 deletions

View File

@@ -6,16 +6,16 @@ function PhysicsSimulator() {
return (
<>
<MaterialSpawner
position={[-2, 5, 3]}
spawnInterval={1000}
spawnCount={5}
/>
{/* <MaterialSpawner
position={[6, 3, 6]}
position={[1, 3, 4]}
spawnInterval={1000}
spawnCount={5}
spawnCount={50}
/> */}
<MaterialSpawner
position={[3.8, 3, 3]}
spawnInterval={1000}
spawnCount={50}
/>
{/* <MaterialSpawner
position={[6, 3, -6]}
spawnInterval={1000}
@@ -24,7 +24,7 @@ function PhysicsSimulator() {
<ColliderCreator />
<SplineCreator />
{/* <SplineCreator /> */}
</>
)
}