Share your repls and programming experiences

← Back to all posts
Reactive Camera Movement
3941driB (37)

I have achieved greatness raycasting. Click the screen to lock your pointer, and then use your mouse to rotate your camera around and it will act like Minecraft's third-person view, reacting to objects around it. Pointer locking is optional but useful to have a better experience. Not that much of an achievement, but I just wanted to share it for @duck132912 those who have issues with third-person cameras.

Comments
hotnewtop
duck132912 (196)

Ive gotta find a way to inject the hack code into the iframe.

3941driB (37)

@duck132912 can you implement this in cubie? the if statement preventing you from looking up hurts my eyes and everyone's gameplay experience

duck132912 (196)

I am hacking krunker.io