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

贡献者指南