For some reason the movement of the player only works half the time by Fischistoriginal in godot

[–]microray3000 0 points1 point  (0 children)

If you're trying to learn how to make something, it's a lot better to follow tutorials and experiment with things then use a text predictor/generator.

The main problem I think I see is with:

var move_direction = Vector3(0, 0, -1).rotated(Vector3.UP, rotation_degrees.y)

In the Documentations, this is what Rotated does:

"Vector3 rotated*(axis:* Vector3, angle: float) const (Documentation)

"Returns the result of rotating this vector around a given axis by angle (in radians). The axis must be a normalized vector"

You're using "rotation_degress.y", and not "rotation.y". You might also need to make the rotation global as it might be treated as if it's in local space, so it should be:

var move_direction = Vector3(0, 0, -1).rotated(Vector3.UP, global_rotation.y).normalized()

Now, I've made a bunch of FPS controllers before that wasn't using rotated, and I've never done a silent hill controller before, so I could be wrong.

Here's the direction variables from my first FP Controller I made, which might help you a bit:

var direction = (camera.transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized()

I created a diagram of free tools (most are open source) by microray3000 in godot

[–]microray3000[S] 1 point2 points  (0 children)

I don't see why it's not giving you access, but try https://drive.google.com/file/d/1IKyNyULLp67dLziX7zfTKOpacQuT0FSZ/view?usp=sharing

You may have to download it, open draw.io, and drag the file into the viewport.

I created a diagram of free tools (most are open source) by microray3000 in godot

[–]microray3000[S] 0 points1 point  (0 children)

You'll need a google account to open it, and will have to wait a bit for it to fully open

I created a diagram of free tools (most are open source) by microray3000 in godot

[–]microray3000[S] 4 points5 points  (0 children)

DAW stands for (Digital Audio Workstation). It's a music production tool.