Skip to content
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

CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow' #78683

Closed
nickpolet opened this issue Jun 25, 2023 · 2 comments

Comments

@nickpolet
Copy link

Godot version

4.1.beta [3710f06]

System information

Ubuntu 22.04

Issue description

When using CSGPolygon3D in 'Path' mode, setting the path_rotation doesn't seem to follow the Path3D's tilt on points. Expecting to see the extruded mesh twist to match up with the Path3D's tilt. I've tried changing all settings related to this, but can't seem to get anywhere.

image
Path3d with a twist in it, set with the tilt var on the points

image
CSGPolygon3D shape, attached to the path with PathFollow set as the path_rotation

image
Expected result, mocked up in blender

Steps to reproduce

I've created a simple minimal reproduction project, which shows a simple CSGPolygon3D attached to a path that has a twist in it. The path mode is set to Path.

This issue is also easy to create without the reproduction file. Just create a path, add some points, add some tilt, create a CSGPolygon3D, set it to Path mode, and assign the path to it. Changing the tilt doesn't affect the mesh in any way.

This happens on all versions of Godot 4 I've tried. I've tried a custom build, and version 4.1.beta3, with no luck. Unsure if this worked previously on v3.

Minimal reproduction project

godot-csgpolygon3d-pathfollow.zip

@nickpolet nickpolet changed the title Godot 4 - CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow' CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow' [Godot 4] Jun 25, 2023
@akien-mga akien-mga changed the title CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow' [Godot 4] CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow'' [Godot 4]' Jun 26, 2023
@akien-mga akien-mga changed the title CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow'' [Godot 4]' CSGPolygon3D not respecting Curve3D tilt when path_rotation is set to 'PathFollow' Jun 26, 2023
@fire
Copy link
Member

fire commented Jun 26, 2023

As far as I know this enhancement wasn't part of the design for path follow, but I agree it makes sense it should work.

@nickpolet
Copy link
Author

Closing this issue out as there's a another discussion on this that has a potential fix --> 65634

@nickpolet nickpolet closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants