-
-
Notifications
You must be signed in to change notification settings - Fork 20.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PathFollow3D progress and progress_ratio properties not working after upgrading from 4.2.2 to 4.3 #95612
Comments
Please upload a minimal reproduction project, a full game project is not a minimal project, a minimal project makes things easier to test and confirm without having to dig through a lot of unnecessary information:
|
Here is a minimal recreation. |
That's a regression from #80233 (happens since 4.3.dev4), which made changing all relevant PathFollow3D properties result in deferred transform update, instead of updating the transform immediately ( Lines 463 to 467 in a759867
Lines 415 to 435 in a759867
Line 127 in a759867
Lines 220 to 228 in a759867
|
Is there a workaround for now? |
I also really need to know if there's a workaround for this. I need this feature and I can't use the 4.2 version as my engine due to needing the features of 4.3. |
Actually, depending what you need, this workaround might not be too hard. The |
What to do, then? Should that PR be reverted? Should the transform be updated immediately (likely yes)? |
Reverted no, it fixed some other issues. From #80233 (comment):
Seems like the updates were made to be deferred because of the last bullet point. Aka the intent was to avoid many updates on scene instantiation, but deferring was made to happen always instead of only on instantiation... 🙃 So yes, always updating transform immediately should do as a simple hotfix. Somehow avoiding multiple updates on scene instantiation (according to the original intent) would be a nice bonus of course. |
I trust your judgement. I believe this needs to be fixed ASAP, a lot of people I know personally rely on this logic. |
yeah, make |
as a side note: force_update_transform() doesn't seem to work either. i don't really know if it's related or not. |
I was going crazy today wondering why progress_ratio wasn't working and now I see it 🥇. Thanks for stopping my insanity from progressing. |
Subtracting delta from progress_ratio seems to work for now, but there is a noticeable delay in movement, at least for me. |
Fantastic!
…On Wed, Sep 11, 2024, 13:04 Rémi Verschelde ***@***.***> wrote:
Closed #95612 <#95612> as
completed via #96140 <#96140>.
—
Reply to this email directly, view it on GitHub
<#95612 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKE45J3PVQQ54Z6YUQBJYDZWAPS5AVCNFSM6AAAAABMTMQ3ZCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGIYTIMJUGY3DAOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
How can I get this fix locally? Sorry for the noob question, I've never had to track a needed fix for Godot before. Do I redownload 4.3? |
Unless you're building Godot from source, it will be available from here https://godotengine.org/download/preview/ |
Thanks @AaronJMorand! How do I track which release it gets into? Sorry if this is an obvious question. |
By the milestone (it says 4.4 in the top right) and also on the PR with the cherry pick labels (in this case 4.3) |
Tested versions
System information
Godot v4.2.2.stable - Debian GNU/Linux 12 (bookworm) 12 - X11 - GLES3 (Compatibility) - NVIDIA GeForce GTX 960 (nvidia) - AMD FX(tm)-6300 Six-Core Processor (6 Threads)
Issue description
PathFollow3D progress and progress_ratio properties are not working after upgrading from 4.2.2 to 4.3. Running my game on 4.2.2 again afterwards works as expected. In the inspector, I can manually adjust the properties and see the position move in the 3D view.
The full project is shared on GitHub : https://github.com/Pixel-Gladiator/LaserBall3D
Load it in 4.2.2 and the world resources populate as expected.
Load it in 4.3 and the world resources populate in a single location.
In both cases, world resources spawning off of a timer are added as expected.
I've shared videos of what it used to look like and what it looks like now on YouTube
https://www.youtube.com/channel/UCIIdIVhHBYRUmjfhPLQyY5Q
Steps to reproduce
Load it in 4.2.2 and the world resources populate as expected.
Load it in 4.3 and the world resources populate in a single location.
In both cases, world resources spawning off of a timer are created as expected.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: