flame-engine/flame

[flame_3d] Child components do not observe parent transformations

Aperta

#3722 aperta il 19 set 2025

 (7 commenti) (0 reazioni) (1 assegnatario)Dart (1021 fork)batch import
bughacktoberfest

Metriche repository

Star
 (10.575 stelle)
Metriche merge PR
 (Merge medio 3g 22h) (6 PR mergiate in 30 g)

Descrizione

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

Guida contributor