# \#transformnode

**URL:** https://forum.babylonjs.com/tag/transformnode/157.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Remove Infinite-Distance Root Allocation in \`TransformNode.computeWorldMatrix\`](https://forum.babylonjs.com/t/remove-infinite-distance-root-allocation-in-transformnode-computeworldmatrix/63125)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 1:36am UTC](https://forum.babylonjs.com/t/remove-infinite-distance-root-allocation-in-transformnode-computeworldmatrix/63125 "2026-04-14T01:36:12Z")

</div>

Summary Remove the per-call new Vector3(...) allocation in the root-node infinite-distance path of TransformNode.computeWorldMatrix() and replace it with a zero-allocation implementation based on direct matrix element re…

---

## [Large scale terrain details generation](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389)

<div class="topic-metadata">

**Author:** [@pietrko](https://forum.babylonjs.com/u/pietrko)\
**Replies:** 1\
**Last updated:** [November 11, 2025, 9:48pm UTC](https://forum.babylonjs.com/t/large-scale-terrain-details-generation/61389 "2025-11-11T21:48:53Z")

</div>

I have following problem. I need to render thousands of small strategic map cities. Each city is very similar to each and is composed of up to 100 different meshes Cities are placed in different areas of the world i w…

---

## [Preffered way of accessing the world position of a TransformNode](https://forum.babylonjs.com/t/preffered-way-of-accessing-the-world-position-of-a-transformnode/61165)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 2\
**Last updated:** [October 27, 2025, 4:16pm UTC](https://forum.babylonjs.com/t/preffered-way-of-accessing-the-world-position-of-a-transformnode/61165 "2025-10-27T16:16:31Z")

</div>

Hey there, I have been thinking about a recent comment from @georgie in this PR about not using globalPosition for the cameras: since globalPosition must be explicitly set by the camera class extension (its happening …

---

## [What was the bug fixed in PR #12504?](https://forum.babylonjs.com/t/what-was-the-bug-fixed-in-pr-12504/57990)

<div class="topic-metadata">

**Author:** [@fazil47](https://forum.babylonjs.com/u/fazil47)\
**Replies:** 9\
**Last updated:** [April 29, 2025, 6:03pm UTC](https://forum.babylonjs.com/t/what-was-the-bug-fixed-in-pr-12504/57990 "2025-04-29T18:03:57Z")

</div>

@Deltakosh @RaananW I’ve asked in the PR, but asking here as well just in case - What was the bug fixed in that PR? I’m doing an upgrade and I’m having to do computeWorldMatrix(true) in a bunch of places to stay compat…

---

## [How to get world transform of meshes exported from Blender?](https://forum.babylonjs.com/t/how-to-get-world-transform-of-meshes-exported-from-blender/56469)

<div class="topic-metadata">

**Author:** [@Khanon](https://forum.babylonjs.com/u/Khanon)\
**Replies:** 10\
**Last updated:** [February 10, 2025, 10:50pm UTC](https://forum.babylonjs.com/t/how-to-get-world-transform-of-meshes-exported-from-blender/56469 "2025-02-10T22:50:10Z")

</div>

Exporting a scene from Blender with different meshes, I’m trying to get the actual position, rotation and scale of each mesh from the world origin. In the Blender scene, I import a mesh from a .glb file. Then I duplicat…

---

## [After operating with the ScaleGizmo class in babylonjs, the problem of rotation cannot be solved after cutting back to the RotationGizmo](https://forum.babylonjs.com/t/after-operating-with-the-scalegizmo-class-in-babylonjs-the-problem-of-rotation-cannot-be-solved-after-cutting-back-to-the-rotationgizmo/55099)

<div class="topic-metadata">

**Author:** [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Replies:** 3\
**Last updated:** [December 3, 2024, 7:54am UTC](https://forum.babylonjs.com/t/after-operating-with-the-scalegizmo-class-in-babylonjs-the-problem-of-rotation-cannot-be-solved-after-cutting-back-to-the-rotationgizmo/55099 "2024-12-03T07:54:17Z")

</div>

As shown in the question, when I was developing the animation function at the beginning, I found that no matter how I scaled it, I couldn’t rotate the model through the RotationGizmo component. At first, I thought it was…

---

## [May I ask what is the difference between absolute coordinates in mesh and regular coordinates in babylonjs](https://forum.babylonjs.com/t/may-i-ask-what-is-the-difference-between-absolute-coordinates-in-mesh-and-regular-coordinates-in-babylonjs/54148)

<div class="topic-metadata">

**Author:** [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Replies:** 4\
**Last updated:** [October 16, 2024, 6:11am UTC](https://forum.babylonjs.com/t/may-i-ask-what-is-the-difference-between-absolute-coordinates-in-mesh-and-regular-coordinates-in-babylonjs/54148 "2024-10-16T06:11:03Z")

</div>

As the question suggests, when performing translation transformations, which attribute is mainly used for operation? If ordinary translation is used, under what circumstances should absolute coordinates be used

---

## [Source for child following parent](https://forum.babylonjs.com/t/source-for-child-following-parent/52828)

<div class="topic-metadata">

**Author:** [@regna](https://forum.babylonjs.com/u/regna)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 3:12am UTC](https://forum.babylonjs.com/t/source-for-child-following-parent/52828 "2024-08-16T03:12:24Z")

</div>

Could someone please help point out the area in the Babylon.js source code where a child node/mesh follows the position and rotation of its parent via matrix math? I was looking into transformNode.ts, though I’m unsure …

---

## [Mesh, AbstractMesh, TransformNode hierarchy](https://forum.babylonjs.com/t/mesh-abstractmesh-transformnode-hierarchy/48709)

<div class="topic-metadata">

**Author:** [@sevaseva](https://forum.babylonjs.com/u/sevaseva)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 11:01pm UTC](https://forum.babylonjs.com/t/mesh-abstractmesh-transformnode-hierarchy/48709 "2024-03-14T23:01:30Z")

</div>

Mesh extends AbstractMesh extends TransformNode. What are some purposes of AbstractMesh class? If it’s not much more than a “container” for the logic that’s common between Mesh and InstancedMesh, what do you think abo…

---

## [Strange sixd drag behavior on a model](https://forum.babylonjs.com/t/strange-sixd-drag-behavior-on-a-model/47985)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 6\
**Last updated:** [February 13, 2024, 3:27pm UTC](https://forum.babylonjs.com/t/strange-sixd-drag-behavior-on-a-model/47985 "2024-02-13T15:27:38Z")

</div>

Hi all, The sixd drag is not working correctly if the “root” mesh is given a parent I don’t know how to solve it.

---

## [Unable to save the animations property of the TransformNode](https://forum.babylonjs.com/t/unable-to-save-the-animations-property-of-the-transformnode/47245)

<div class="topic-metadata">

**Author:** [@AutoBikeMan](https://forum.babylonjs.com/u/AutoBikeMan)\
**Replies:** 4\
**Last updated:** [January 29, 2024, 9:56am UTC](https://forum.babylonjs.com/t/unable-to-save-the-animations-property-of-the-transformnode/47245 "2024-01-29T09:56:44Z")

</div>

When I create animations for a TransformNode and use “SceneSerializer.Serialize(scene)” to obtain the serialized scene file, the animations property within the transformNodes is empty (). However, when I create animation…

---

## [RenderOutline and HighlightLayer has question on TransformNode!](https://forum.babylonjs.com/t/renderoutline-and-highlightlayer-has-question-on-transformnode/41016)

<div class="topic-metadata">

**Author:** [@pxim](https://forum.babylonjs.com/u/pxim)\
**Replies:** 2\
**Last updated:** [May 22, 2023, 7:45am UTC](https://forum.babylonjs.com/t/renderoutline-and-highlightlayer-has-question-on-transformnode/41016 "2023-05-22T07:45:02Z")

</div>

Animation weights demo | Babylon.js Playground (babylonjs.com) If the model has a node, there are many levels in Node, and there are many Mesh, transformNode in each level, I am now add a outer light in whole node li…

---

## [TransformNode setParent have bug!](https://forum.babylonjs.com/t/transformnode-setparent-have-bug/40966)

<div class="topic-metadata">

**Author:** [@pxim](https://forum.babylonjs.com/u/pxim)\
**Replies:** 4\
**Last updated:** [May 19, 2023, 8:57am UTC](https://forum.babylonjs.com/t/transformnode-setparent-have-bug/40966 "2023-05-19T08:57:07Z")

</div>

Why does there be two in the inspector tree . Although only one is seen in the actual scene

---

## [Recommended to Mesh and TransformNode add getTransformNodeByName method ！](https://forum.babylonjs.com/t/recommended-to-mesh-and-transformnode-add-gettransformnodebyname-method/40967)

<div class="topic-metadata">

**Author:** [@pxim](https://forum.babylonjs.com/u/pxim)\
**Replies:** 2\
**Last updated:** [May 19, 2023, 8:36am UTC](https://forum.babylonjs.com/t/recommended-to-mesh-and-transformnode-add-gettransformnodebyname-method/40967 "2023-05-19T08:36:54Z")

</div>

Now only can get node from the scene scene.getTransformNodeByName("group\_part") Every time you have to traverse from scene root nodes . This efficiency is too low . And it is troublesome to use . \[three.js/Object…

---

## [Can I show the 3D Text associated to MeshLine or PolygonMesh](https://forum.babylonjs.com/t/can-i-show-the-3d-text-associated-to-meshline-or-polygonmesh/40267)

<div class="topic-metadata">

**Author:** [@ilan](https://forum.babylonjs.com/u/ilan)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 12:36pm UTC](https://forum.babylonjs.com/t/can-i-show-the-3d-text-associated-to-meshline-or-polygonmesh/40267 "2023-04-27T12:36:43Z")

</div>

I try to show the label associated to particular Mesh. But I didn’t find the best approach. Technical criteria is the following: Note: My project is based on React + TS so I can’t use MeshWriter. Hope to hear…

---

## [How can I transform the polyhedron mesh](https://forum.babylonjs.com/t/how-can-i-transform-the-polyhedron-mesh/40080)

<div class="topic-metadata">

**Author:** [@ilan](https://forum.babylonjs.com/u/ilan)\
**Replies:** 1\
**Last updated:** [April 22, 2023, 7:37am UTC](https://forum.babylonjs.com/t/how-can-i-transform-the-polyhedron-mesh/40080 "2023-04-22T07:37:12Z")

</div>

I render the polygon object using polyhedron mesh and want to change the height of it. But I can’t transform this objects.

---

## [Is TransformNode.computeWorldMatrix() broken?](https://forum.babylonjs.com/t/is-transformnode-computeworldmatrix-broken/38072)

<div class="topic-metadata">

**Author:** [@romaleks360](https://forum.babylonjs.com/u/romaleks360)\
**Replies:** 4\
**Last updated:** [February 9, 2023, 8:42pm UTC](https://forum.babylonjs.com/t/is-transformnode-computeworldmatrix-broken/38072 "2023-02-09T20:42:41Z")

</div>

Hi! I imported .glb avatar model and tried to set its bones world rotation. I am using bone().getTransformNode().computeWorldMatrix().invert() to create a world-to-local matrix. However, this matrix has some weird littl…

---

## [Can't rotate transformNode via RotationGizmo](https://forum.babylonjs.com/t/cant-rotate-transformnode-via-rotationgizmo/36662)

<div class="topic-metadata">

**Author:** [@Muhamad\_Rifky1](https://forum.babylonjs.com/u/Muhamad_Rifky1)\
**Replies:** 2\
**Last updated:** [December 20, 2022, 1:48am UTC](https://forum.babylonjs.com/t/cant-rotate-transformnode-via-rotationgizmo/36662 "2022-12-20T01:48:56Z")

</div>

Hi all I have problem with RotationGizmo, whenever i try to rotate TransformNode,it shows warning “Unable to use a rotation gizmo matching mesh rotation with non uniform scaling. Use uniform scaling or set updateGizmoRo…

---

## [Scene-less Nodes/TransformNodes](https://forum.babylonjs.com/t/scene-less-nodes-transformnodes/34510)

<div class="topic-metadata">

**Author:** [@Vortex](https://forum.babylonjs.com/u/Vortex)\
**Replies:** 5\
**Last updated:** [October 5, 2022, 3:37pm UTC](https://forum.babylonjs.com/t/scene-less-nodes-transformnodes/34510 "2022-10-05T15:37:22Z")

</div>

I’m working on a project and need a TransformNode but don’t have a scene since scenes (which are worlds/saves in said project) are generated dynamically. Except for one issue: Node requires a scene, so it throws an error…

---

## [SolidParticles, Mesh, TransformNode and Ray](https://forum.babylonjs.com/t/solidparticles-mesh-transformnode-and-ray/32576)

<div class="topic-metadata">

**Author:** [@Takemura](https://forum.babylonjs.com/u/Takemura)\
**Replies:** 6\
**Last updated:** [July 31, 2022, 6:07pm UTC](https://forum.babylonjs.com/t/solidparticles-mesh-transformnode-and-ray/32576 "2022-07-31T18:07:43Z")

</div>

Dear Babylon-Community, I’m planning to optimize my projectiles (i.e. laser shoots) and have some new ideas and regarding questions. It works to use ray = new BABYLON.Ray(mesh.absolutePosition, direction, length), so …

---

## [Parenting a transform node to a bone](https://forum.babylonjs.com/t/parenting-a-transform-node-to-a-bone/31017)

<div class="topic-metadata">

**Author:** [@Panuchka](https://forum.babylonjs.com/u/Panuchka)\
**Replies:** 6\
**Last updated:** [June 15, 2022, 12:58pm UTC](https://forum.babylonjs.com/t/parenting-a-transform-node-to-a-bone/31017 "2022-06-15T12:58:50Z")

</div>

Hi everyone! I have a parenting issue regarding to some animations and bones. I’m basically trying to add an item to a hand of a game character. This used to somewhat work, but I wonder if something changed during the 5…
