You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version:
develop and learn using win10
Issue description:
Player(KinematicBody2D) using rayshape2D and move_and_slidenot work with moving platform(KinematicBody2D) using move_and_collide. When player standing on this moving platform, they will drop down slowly together.
Steps to reproduce:
100% reproduce. Just use player jump on the moving platform.
Minimal reproduction project:
Please open level1 scene in the project. In the right of scene has a moving platform. github.zip
I am a newbie to godot . I believe godot is greate engine. Thanks everyone.
The text was updated successfully, but these errors were encountered:
I tested a lot of situations. Only when players use rectangleshap2d (if use capsule need change collision safe margin more than 0.08)and use the move_and_slide function in the script can work well with the moving platform using the move_and_collide function.
So at current I think best way to create moving platform is using AnimationPlayer or Path2D and check the sync with physics of motion in KinematicBody2D.
Closing as the specific issue shown in the video doesn't occur anymore in 3.3.2.
As already pointed out, using move_and_collide for the moving platform currently doesn't work very well though, because it will still collide and bounce on the player, so using animation should be the preferred way if possible.
Right now, it's hard to work around the limitation that collision layers are setup in a symmetrical way, so if the player collides with the platform, the platform also collides with the player. The only way I can think about would be to change collision layers before the platform calls move_and_collide and change it back after.
In 4.0, you will be able to setup collision layers in a way that the platform will be able to ignore the player and only collide with the environment: godotengine/godot-proposals#2775
Godot version:
3.2 stable
Bug Gif:
OS/device including version:
develop and learn using win10
Issue description:
Player(KinematicBody2D) using rayshape2D and move_and_slidenot work with moving platform(KinematicBody2D) using move_and_collide. When player standing on this moving platform, they will drop down slowly together.
Steps to reproduce:
100% reproduce. Just use player jump on the moving platform.
Minimal reproduction project:
Please open level1 scene in the project. In the right of scene has a moving platform.
github.zip
I am a newbie to godot . I believe godot is greate engine. Thanks everyone.
The text was updated successfully, but these errors were encountered: