minor code cleanup
This commit is contained in:
@@ -6,7 +6,7 @@ import { useEffect, useRef } from "react";
|
|||||||
import { Euler, Quaternion, Vector3 } from "three";
|
import { Euler, Quaternion, Vector3 } from "three";
|
||||||
import { useFrame, useThree } from "@react-three/fiber";
|
import { useFrame, useThree } from "@react-three/fiber";
|
||||||
import { useKeyboardControls } from "@react-three/drei";
|
import { useKeyboardControls } from "@react-three/drei";
|
||||||
import { CuboidCollider, useRapier, useBeforePhysicsStep, type RapierRigidBody, type RapierCollider, BallCollider, CapsuleCollider, RoundCuboidCollider } from "@react-three/rapier";
|
import { useRapier, useBeforePhysicsStep, type RapierRigidBody, type RapierCollider, RoundCuboidCollider } from "@react-three/rapier";
|
||||||
import { joystickValues } from "../joystickInput";
|
import { joystickValues } from "../joystickInput";
|
||||||
|
|
||||||
const SPEED = 5;
|
const SPEED = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user