Child element hit box position is not updated based on parent element position (probably the same for rotation)
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
Each time the button is pressed, it goes down, but the hit box is always in the same place. The logic works as it should if instead of the `button` is pressed, the `empty` is pressed.
[canvas_parent.zip](https://github.com/armory3d/armory/files/5258637/canvas_parent.zip)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior in canvas_parent.zip, comparing presses on the button and the empty element as the parent moves. Trace the hit-box positioning for child elements and check the corresponding rotation behavior. Done means the button hit box follows its parent position, and rotation is handled if it exhibits the same problem.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100