flame-engine / flame-engine/flame

[flame_3d] Child components do not observe parent transformations

Open
#3,722 7 comments 0 reactions 1 assignee Claimed by @harshithsaiv View on GitHub
bug hacktoberfest
Dominant language
Dart
Stars
10.8k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
21

Description

### What happened?

Child components have their transformations set with respect to global space. We need to pre-multiply the transform of parent components up the chain, ideally avoiding repeated calculations.

### What do you expect?

A child 3d-object inside a parent 3d-object should have its coordinate system wrt to the parent's transform.

### How can we reproduce this?

Just created a nested component within the flame_3d playground.

### Affected platforms

All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.