Godot Version
4.2
Question
moving paltform does not work and how can i fix it ?
please answer my question everybody’s!
I’m seeing so many things wrong things here.
First, can you show what the 34 warning and errors are? They might give you clues on why things don’t work.
For the laterals moving platform the problem is in the logic, you have to make so that when the platform reaches the end of one side, it uses the same movement that it used to go there but negative (so it goes backwards).
For the vertical moving platform, I can’t guess the problem without first seeing both the code of the player and the platform.
Lastly, I highly suggest to not use non-ASCII characters to give names to scenes, because most programming languages are not able to read them, and it will cause a lot of problems when working with names.
Also unrelated, but next time when you do a post asking how to solve a problem, paste a code with the preformatted text tag.
extends Node
func _ready() -> void:
print("hello world")
Change your moving StaticBody2Ds to AnimatableBody2D
thanks a lot for reply !
the problem in horizontal floor , solved.
but in vertical moving wall , nothing happened.
do you have any advice ?
i got it work. thanks
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.