Bug when cloning?

Hi,

Here’s the playground i use to show you what happens.

https://playground.babylonjs.com/#1S3CEA#1

I have 1 U Profile positionned on the origin of the axes. When i clone this profile and shift it on the Z axis, it’s also shifted on the X Axis.

Could you tell me why ?

Thanks,

Boris

1 Like

Looks like the pivot matrix is what’s causing the unwanted shift. If you comment that line out and set the z position instead is it working how you wanted/expected? :slightly_smiling_face:

https://playground.babylonjs.com/#1S3CEA#2

2 Likes