Rigid bodies parenting issue
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
The object comes to its original position/rotation after clear parent
[parent_test.zip](https://github.com/armory3d/armory/files/5163342/parent_test.zip)
Left object is with active physics, right object is without physics
Use **WASD** to rotate the parent, **SPACE** to toggle both objects parent mode
There is also an issue when you uncheck **Keep Transform**. For me the object should return to its original pos/rot after clear parent (same as active body is doing in the issue), anyway i am not familiar to transforms work. Is not better to remove "Keep Transform"? Maybe is better to store the object transform trough another way (in variable for example) and after remove its parent, set the desired transform (loc or rot)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by opening parent_test.zip and reproducing the parenting and clear-parent sequence with the active and inactive physics objects. Compare their position and rotation after toggling parent mode and Keep Transform; done means the intended transform behavior is consistent and documented by a regression test or reproducible result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blender, cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100