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

[Bug]: Drawing Not Working #61

Open
DriftWare07 opened this issue Dec 29, 2024 · 6 comments
Open

[Bug]: Drawing Not Working #61

DriftWare07 opened this issue Dec 29, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@DriftWare07
Copy link

Godot version

4.3 stable

DebugDraw3D version

latest

On which operating systems the error occurs

Windows

Using which renderers the error occurs

Vulkan

Issue description

I have a scene trying to draw debug shapes for every baked point in a curve, and it doesn't show anything. My scene has a subviewport, so I don't know if that's related to the issue or not.

Steps to reproduce

in physics process:

		var trans : Transform3D
		trans.origin = i+patrol_path.position
		
		DebugDraw3D.draw_arrowhead(transform,Color.RED,10)
		print("point")```

### Minimal reproduction project

My project is  too large
@DriftWare07 DriftWare07 added the bug Something isn't working label Dec 29, 2024
@DmitriySalnikov
Copy link
Owner

Please check the examples section in the Readme or in the documentation.

@DriftWare07
Copy link
Author

I have looked at these examples, I'm not sure what I'm missing. Could you point out what I'm doing wrong?

@DmitriySalnikov
Copy link
Owner

Readme:

Tip

If you want to use a non-standard Viewport for rendering a 3d scene, then do not forget to specify it in the scoped config!

You should use DebugDraw3D.scoped_config().set_viewport()
or
var _s = DebugDraw3D.new_scoped_config().set_viewport()

@DriftWare07
Copy link
Author

Thank you I'll try that

@DmitriySalnikov
Copy link
Owner

So, is everything working?

@DriftWare07
Copy link
Author

I haven't figured it out at the meeting moment, but i may not need it for the project I'm working on now. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants