0 votes

I want to change the radius of a circleshape2d in the inspector to 0.1, but the step count seems to be 0.5 so it keeps rounding my 0.1 down to 0.01.

I did some digging online and apparently there's a default step count you can change according to this github request, though changing the default step count doesn't seem to change the step count for the circleshape2d's radius, so I suspect it's hard-coded.

I'd like to be able to change this step count since I need to work with really small collisionshape2ds, but I'm not too experienced with the engine, and there doesn't seem to be anything to change hardcoded float step counts inside the settings.

Do I have to use plugins or modify some line of code somewhere to change it?

Godot version 3.4.4-stable_mono_win64
in Engine by (26 points)
edited by

1 Answer

0 votes
Best answer

Alright I fixed it by making a custom plugin that overloads the insepctor's float setter for shapes. It's kind of janky and i'll improve it, but it works well right now.

by (26 points)
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 webmaster@godotengine.org with your username.