I want to rotate the Marker that the player’s hitbox attached to, but it don’t rotating. Slider is frozen, attemts to enter the value ends with initial 0. In 2D scene, the attached hitbox node indicator moves for a milisecond and then retunts to 0 degree position.
In the tutorial all works, but there is Godot 3.2 version and there is Marker2D is Position2D. Today I updated from 4.1.3 to 4.2.1, whereas my test project was originally created on 4.1.3.
Can’t show it with .gif or .mp4, because OBS isn’t installed for now.
Just made a scene to try this and works fine on my end (4.2.0). Stupid question, but you sure you have the marker selected in the scene tree when changing rotation?
If you can upload a proj with just this scene (or whole thing), happy to take a look.
This is an absolute mystery. I get the same behavior in your project. However, if I copy that marker2D and paste it back under same parent (Player), the pasted Marker2D can be rotated no problem, but the original one cannot be.
If I create a new Marker2D + Area2D + CollisionShape under Player, this new one can also be rotated no problem.
I checked the .tscn file in text editor and couldn’t find any issues. Freakier still, if I add rotation to the original Marker2D in the .tscn file itself on hard disk and reload the scene in godot, the rotation disappears! And if I then save the project and check the .tscn file on disk again, rotation is no longer in the file.
This makes no sense.
I don’t know what to tell you other than you got yourself a possessed Marker2D. Thankfully the demon doesn’t jump to new bodies so just copy-paste that Marker 2D and delete the original and you’re good to go.
I also just tried out the test project and it doesn’t rotate while other markers rotate. Even a duplicate of it works. It looks like a bug with that particular instance if the Marker2D.
Hello, well, I’m here again. That happens when I key on timeline any parameter in AnimationPlayer (maybe not any, but which is related to positioning):
If I just key parameters and then edit their values in KeyEdit, it’s works. But in situations when I need to to see what I’m changing, it’s not very convenient. What are your thoughts then?
p.s. of course, I can just remember values and then enter them into each key, but I want to figure out why it’s happening.