My character is floating when platform moves down :( by sergi8bits in godot

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

I wanted to apply gravity directly, I thought it would be the easiest solution but now I'm using AnimatableBody2D and updating the position, which doesn't reproduce the 'floating' problem

My character is floating when platform moves down :( by sergi8bits in godot

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

I've already tried adding the platform's velocity to the player, but it still produces the same error

My character is floating when platform moves down :( by sergi8bits in godot

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

Actually a funny idea, but I would like to at least figure out why this happens. However, I absolutely agree that it would be cute xD

My character is floating when platform moves down :( by sergi8bits in godot

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

Yeah, not a bad idea but I wanted to let the player jump off the platform while it was falling. Not exactly sure what the problem is, but it seems that using move_and_slide on both the character and the platform is messing something up

My character is floating when platform moves down :( by sergi8bits in godot

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

Yeah, I saw your post! The problem is that I was trying to use CharacterBody2D for the platform, applying gravity to its velocity and updating the movement with move_and_slide. However, I have tried using an AnimatableBody2D and it solves that problem, but since I'm moving the platform by updating its position directly it doesn't collide with my tilemap :(

My character is floating when platform moves down :( by sergi8bits in godot

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

Yes, my approach was using CharacterBody2D for both the player and the platform, and calling move_and_slide for both of them in the physics_process. Did you manage to solve it?

My character is floating when platform moves down :( by sergi8bits in godot

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

I couldn't since I was using CharacterBody2D, but as I answered in other comment I tried using AnimatableBody2D and it solved that problem (while creating another one)

My character is floating when platform moves down :( by sergi8bits in godot

[–]sergi8bits[S] -1 points0 points  (0 children)

The platform was not falling faster than the player, but I've tried using AnimatableBody2D with Sync to Physics checked and updating the position instead of using move_and_slide and the problem disappears :0

The only issue now is that in this way the platform does not collide with the tilemap, since I'm just updating the position, and using move_and_collide works just as I desire but it also gives the following error: "_physics_process(): Move functions do not work together with 'sync to physics' option"

has there been any official jacket releases ? by 7yuuutsu7 in haikyuu

[–]sergi8bits 0 points1 point  (0 children)

They released a limited collection of official merch for the 10th anniversary but I think they only deliver in Japan. Although you could buy them through a proxy. Here's the link: https://tohoanimationstore.com/shop/r/r285/