flame-engine/flame

[flame_3d] Child components do not observe parent transformations

開放

#3,722 建立於 2025年9月19日

 (7 則留言) (0 個反應) (1 位負責人)Dart (1,021 個分叉)batch import
bughacktoberfest

倉庫指標

星標
 (10,575 顆星)
PR 合併指標
 (平均合併 3天 22小時) (30 天內合併 6 個 PR)

描述

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

貢獻者指南