SurfaceMagnetismBehavior

Hello i’m trying tu use the SurfaceMagnetismBehavior but i get

BABYLON.SurfaceMagnetismBehavior is not a constructor

I’m using Babylonjs 4.2.0, any help please?

I found this in 5.0.0 release log:

  • Added SurfaceMagnetismBehavior , a behavior that makes the assigned mesh stick on surfaces of other meshes (CraigFeldspar)
1 Like