Physics V2 Pendulum Sample – Mesh out of sync with physics body

I noticed that the Physics V2 Pendulum Sample in the Documentation works differently depending on the version of Babylon.js.

  • OK: Babylon.js v6.49.0 – mesh and physics body move in perfect sync.
  • NG: Babylon.js v7.42.2 – mesh starts offset from its physics body and stays out of sync for the entire simulation.

https://playground.babylonjs.com/?version=6.49.0#BJZ39H#2

https://playground.babylonjs.com/?version=7.42.2#BJZ39H#2

It looks like a regression. I’m taking a look.

1 Like
1 Like