Jump to content

ground.checkCollisions not working in 2.4


al404
 Share

Recommended Posts

not sure if is a bug, i have two folders one with babylon 2.3 and one with 2.4

if i switch between babylon.js 2.3 to 2.4 

inside BABYLON.SceneLoader.ImportMesh i set a ground, and enable collision

ground.checkCollisions = true; 

seems to be ignore because camera can get under the ground, this doesn't happen with 2.3

Link to comment
Share on other sites

18 minutes ago, Deltakosh said:

I don't see a problem in this PG

is it normal that i can move the camera under the ground with

camera.checkCollisions = true;

and 

ground.checkCollisions = true;

i guess i can't change babylon js version used by playground

EDIT 1: with 2.3 my camera could not go under the ground

EDIT 2: i forgot the line 5 scene.collisionsEnabled = true; ( i'm thing to reproduce my script )

but still not detecting collision between camera and ground

http://www.babylonjs-playground.com/#1W8VGP#2

Edited by al404
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...