Physics not detecting heightmap collision with latest 5-alpha

Hi,
I’ve noticed that heightmap collision (cannon) doesn’t work as expected anymore. See this PG https://www.babylonjs-playground.com/#4VM49Q#12 and switch between latest and 4.2.0 With latest The spehere ‘falls’ through the ground after a couple of seconds.

Let me take a look.

1 Like

As a workaround, setting the ground impostor as a MeshImpostor will work. I continue investigating.

PR is live

2 Likes

@Cedric thanks a lot for the fix! This will be available via npm with alpha.44, right?

Yup and we will probably release it either tomorrow or early next week :slight_smile:

1 Like

Seems that alpha.44 doesn’t fix the problem. same behaviour. Maybe someone else can confirm.

I can repro. This is really weird. I’m checking what’s happening.

2 Likes

Second try :

2 Likes

Thanks @Cedric now it works :slight_smile:

2 Likes