Hey guys, so im trying out how to build and bumping into an issue
After installing everything, i go to play mode and i get this warning: "Server is not responding, see commandline/terminal for errors or try running βnpm start & timeout 10β
The web does open up, but the cmd is not the server but an error that npm doesnt exist. help pls?
Original Post on Discord
by user 263967078346653697
ok i updated to the newest versionn and getting an error now
by user 263967078346653697
saying npm is not installed
by user 263967078346653697
maybe a simple unity refresh will do itt
by user 263967078346653697
by user 263967078346653697
ehh nope
by user 263967078346653697
woohoo got it, had to restart pc
by user 263967078346653697
yeppp btw marcel
by user 263967078346653697
while weβre at it
by user 263967078346653697
im trying to have orbit controls work like fps rotation
by user 263967078346653697
marwie1
(marwi)
April 8, 2023, 12:00am
12
Changed the channel name: npm not found / nodejs
i found out that if i dont set the target to anything, it raycasts the first obj in view
by user 263967078346653697
what if i just want to use it for looking around without zoom and stuff
by user 263967078346653697
do i need my own script?
by user 263967078346653697
marwie1
(marwi)
April 8, 2023, 12:00am
16
I would say use a dedicated package for it. This looks nice for example: https://www.npmjs.com/package/spatial-controls it has a first person mode
marwie1
(marwi)
April 8, 2023, 12:00am
17
You can write a small typescript wrapper component that exposes it to unity (similar to OrbitControls)
would this work on mobile too?
by user 263967078346653697
umm i dont get it
by user 263967078346653697
i see that orbit controls is kinnda like a scriptable object, exposing parameters from a script, but i dont know which script it is
by user 263967078346653697