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

Curve3d get_baked_points() regression #69548

Closed
Bimbam360 opened this issue Dec 4, 2022 · 2 comments
Closed

Curve3d get_baked_points() regression #69548

Bimbam360 opened this issue Dec 4, 2022 · 2 comments
Labels

Comments

@Bimbam360
Copy link

Bimbam360 commented Dec 4, 2022

Godot version

4.0 Beta 7

System information

Windows 11

Issue description

get_baked_points() returns arbitrarily dense points (seemingly limited between vertex 0 and 1).

Normal behaviour in Beta 6 using Marker3D nodes to highlight baked positions:
image

Broken behaviour in Beta 7 using Marker3D nodes to highlight baked positions:
image

Steps to reproduce

Setup a Path3D/Curve3D with some amount of points, then try to plot baked points as returned by get_baked_points()

e.g.

var points = $Path3D.curve.get_baked_points()
for pt_idx in range(0, points.size()):
        var marker = Marker3D.new()
        $Node3D.add_child(marker)
        marker.global_transform.origin = points[pt_idx]
        marker.owner = self

Minimal reproduction project

N/A

@xiongyaohua
Copy link
Contributor

It seems also been solved by #69239

image

@akien-mga
Copy link
Member

Duplicate of #69220

@akien-mga akien-mga marked this as a duplicate of #69220 Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants