Skip to content

Introduce new enum component to express from_parent #6863

@Wumpf

Description

@Wumpf

Today, there's a boolean from_parent on the transform3d componet. This has to be refactored into its own component as part of #6831

Suggestion by @roym899 is to make this new component more expressive by making it an enum:

enum TransformRelation {
	ParentFromChild(default),
	ChildFromParent,
}

Furthermore, at least in Python we should also offer ChildToParent and ParentToChild as valid variants since this is what a lot of people have in their code. We would however map that to above TransformRelation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions