0 votes

Hi there! I'm having stuttering issues with a specific type of platform in my game, a vertical moving platform. Right now I'm moving it with a tween with the interpolate_property function, where the platform will tween itself from the position its currently at, and the next position is knows to go to. However I'm not quite sure if this is causing the issue, of if there is some deeper engine issue I'm not aware of.

Here is the line of code used for moving the platform:
the way it loops through all its checkpoints is by a signal of tween_completed

tween.interpolate_property(self, "position", self.position, nextCheckpoint, 
        speed,Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)

video showing the bug
alt link in case the embed doesn't work:

in Engine by (36 points)

Have you tried moving it without the tween (physics_process) to see if the issue occurs? I think moving physics objects with tweens might cause issues.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.