bevyengine / bevyengine/bevy

Improve AxisSetting constructor

Open
#7,234 0 comments 0 reactions 0 assignees View on GitHub
A-Input C-Code-Quality
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

(While the thought is still in my head, re: `new_symmetric`) Maybe it made more sense in the context of other refactoring, but I feel like a constructor that is "symmetric" but allows you to still specify the dead zone size and live zone size separately would be more ideal.

_Originally posted by @rparrett in https://github.com/bevyengine/bevy/pull/7233#pullrequestreview-1250435551_

Contributor guide

Open the contributing guide

Research direction

Start by locating AxisSetting and the existing new_symmetric constructor, then inspect the related refactoring in pull request 7233. Done means the symmetric constructor can still accept separate dead-zone and live-zone sizes, with tests or usage updates confirming the intended API.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.