# \#behavior

**URL:** https://forum.babylonjs.com/tag/behavior/296.md

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

---

## [Mesh behaviors are totally incosistent about their attachment status](https://forum.babylonjs.com/t/mesh-behaviors-are-totally-incosistent-about-their-attachment-status/61536)

<div class="topic-metadata">

**Author:** [@qwiglydee](https://forum.babylonjs.com/u/qwiglydee)\
**Replies:** 1\
**Last updated:** [November 24, 2025, 7:58am UTC](https://forum.babylonjs.com/t/mesh-behaviors-are-totally-incosistent-about-their-attachment-status/61536 "2025-11-24T07:58:00Z")

</div>

The mesh behaviors generally do not provide any (public) way to check if they’re attached or not. Of those who do (2), half of them (1) do not reset their attachedNode after detachment.

---

## [Mesh SlideBehavior and SwingBehavior triggered by touch, proximity and/or manually](https://forum.babylonjs.com/t/mesh-slidebehavior-and-swingbehavior-triggered-by-touch-proximity-and-or-manually/59697)

<div class="topic-metadata">

**Author:** [@inteja](https://forum.babylonjs.com/u/inteja)\
**Replies:** 0\
**Last updated:** [July 24, 2025, 1:59am UTC](https://forum.babylonjs.com/t/mesh-slidebehavior-and-swingbehavior-triggered-by-touch-proximity-and-or-manually/59697 "2025-07-24T01:59:21Z")

</div>

Someone else might find this useful. I created 2 new mesh behaviors suitable for the animated opening/closing of doors, windows, drawers etc, SlideBehavior and SwingBehavior triggered by pointer touch, proximity and/or m…

---

## [Mesh linkage with (physics-free) constraints](https://forum.babylonjs.com/t/mesh-linkage-with-physics-free-constraints/57449)

<div class="topic-metadata">

**Author:** [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Replies:** 3\
**Last updated:** [March 27, 2025, 7:30pm UTC](https://forum.babylonjs.com/t/mesh-linkage-with-physics-free-constraints/57449 "2025-03-27T19:30:43Z")

</div>

Hello ! As far as I know, BabylonJS mesh constraints are physics oriented. (Please tell me if I’m wrong). In Blender, there is something that I use very often which is the Transformation Constraint which ables to map a…

---

## [Scaling issue with gaussian splatting](https://forum.babylonjs.com/t/scaling-issue-with-gaussian-splatting/50924)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 1:48pm UTC](https://forum.babylonjs.com/t/scaling-issue-with-gaussian-splatting/50924 "2024-05-30T13:48:06Z")

</div>

Hello everyone! I am trying to use the bounding box gizmo with the gaussian splatting mesh and I have a scaling problem: Even though I changed the scale of the mesh, the bounding box ignores it. This does not happen …

---

## [HandConstraintBehavior does not work](https://forum.babylonjs.com/t/handconstraintbehavior-does-not-work/49115)

<div class="topic-metadata">

**Author:** [@sevaseva](https://forum.babylonjs.com/u/sevaseva)\
**Replies:** 7\
**Last updated:** [May 7, 2024, 12:13pm UTC](https://forum.babylonjs.com/t/handconstraintbehavior-does-not-work/49115 "2024-05-07T12:13:54Z")

</div>

Following the HandConstraintBehavior documentation in about most basic scene possible, I observe that the mesh just quickly flies out of the viewport; does not starting following a hand. Tested with Meta immersive emula…

---

## [SixDofDragBehavior: different behavior with different meshes: native, GLTF, GLB](https://forum.babylonjs.com/t/sixdofdragbehavior-different-behavior-with-different-meshes-native-gltf-glb/48909)

<div class="topic-metadata">

**Author:** [@sevaseva](https://forum.babylonjs.com/u/sevaseva)\
**Replies:** 10\
**Last updated:** [March 26, 2024, 1:57am UTC](https://forum.babylonjs.com/t/sixdofdragbehavior-different-behavior-with-different-meshes-native-gltf-glb/48909 "2024-03-26T01:57:06Z")

</div>

Update: initially this post included details and questions regarding the behavior in the immersive-vr (webxr) session as well as the non-immersive “canvas on screen” mode. It was later repurposed to discuss just the set …

---

## [Strange sixddrag behavior when the parent is normalized to unit cube](https://forum.babylonjs.com/t/strange-sixddrag-behavior-when-the-parent-is-normalized-to-unit-cube/47171)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 2\
**Last updated:** [January 15, 2024, 3:45pm UTC](https://forum.babylonjs.com/t/strange-sixddrag-behavior-when-the-parent-is-normalized-to-unit-cube/47171 "2024-01-15T15:45:10Z")

</div>

Hello everyone, Can someone take a look: Click on the button and try to drag any mesh

---

## [Unselected meshes move alongside the selected mesh](https://forum.babylonjs.com/t/unselected-meshes-move-alongside-the-selected-mesh/46627)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 17\
**Last updated:** [January 5, 2024, 11:25pm UTC](https://forum.babylonjs.com/t/unselected-meshes-move-alongside-the-selected-mesh/46627 "2024-01-05T23:25:48Z")

</div>

Hi all, I have this code: private listenModelDrag() { const selectorBtn = document.getElementById("selectorButton"); let isButtonClicked = false; selectorBtn?.addEventListener("click", () =\> { …

---

## [Mesh 2D screen position jumps to a random value when camera zooms in to max](https://forum.babylonjs.com/t/mesh-2d-screen-position-jumps-to-a-random-value-when-camera-zooms-in-to-max/44838)

<div class="topic-metadata">

**Author:** [@Rainbow\_Doge](https://forum.babylonjs.com/u/Rainbow_Doge)\
**Replies:** 5\
**Last updated:** [October 13, 2023, 1:25pm UTC](https://forum.babylonjs.com/t/mesh-2d-screen-position-jumps-to-a-random-value-when-camera-zooms-in-to-max/44838 "2023-10-13T13:25:58Z")

</div>

Hi everyone, I have a function in my project that retrieves mesh’s 2D screen position dynamically. I have setup a playground that has almost the same setting as my project here: https://playground.babylonjs.com/#INZ0Z0#…

---

## [Help me with my first mini library for BabylonJS](https://forum.babylonjs.com/t/help-me-with-my-first-mini-library-for-babylonjs/38472)

<div class="topic-metadata">

**Author:** [@Dok11](https://forum.babylonjs.com/u/Dok11)\
**Replies:** 10\
**Last updated:** [April 17, 2023, 1:44pm UTC](https://forum.babylonjs.com/t/help-me-with-my-first-mini-library-for-babylonjs/38472 "2023-04-17T13:44:24Z")

</div>

Hi! I trying to create my own npm package for BabylonJS. Could give advice how to improve my package and which potential problems does it have now? Firstly I worrie about dependencies description in the package.json, i…

---

## [CameraShake and PropertyDistanceAttractor: Enhance your BabylonJS scenes with dynamic behaviors](https://forum.babylonjs.com/t/camerashake-and-propertydistanceattractor-enhance-your-babylonjs-scenes-with-dynamic-behaviors/39158)

<div class="topic-metadata">

**Author:** [@Dok11](https://forum.babylonjs.com/u/Dok11)\
**Replies:** 8\
**Last updated:** [March 28, 2023, 10:51am UTC](https://forum.babylonjs.com/t/camerashake-and-propertydistanceattractor-enhance-your-babylonjs-scenes-with-dynamic-behaviors/39158 "2023-03-28T10:51:03Z")

</div>

Hello BabylonJS community, I’m excited to share two new behavior classes I’ve created to help make your BabylonJS scenes even more dynamic and interactive: CameraShake: This behavior class adds a camera shake effect,…

---

## [Two small libraries to work with camera](https://forum.babylonjs.com/t/two-small-libraries-to-work-with-camera/38485)

<div class="topic-metadata">

**Author:** [@Dok11](https://forum.babylonjs.com/u/Dok11)\
**Replies:** 1\
**Last updated:** [February 24, 2023, 2:23pm UTC](https://forum.babylonjs.com/t/two-small-libraries-to-work-with-camera/38485 "2023-02-24T14:23:51Z")

</div>

I had some experiments with creating npm pakages, so now we have two libs for camera animation. One of them allow you attach a page scroll (or any scrollable html element) to scene animation: …
