Jump to content

box collision check not happening (simple collision check)


biswazr
 Share

Recommended Posts

I'm also new so can't give you a solid answer but as far as I'm aware it simply detects collisions, unless it's the camera colliding I believe it's up to you to decide how to handle it, maybe with a collider, I'm sure someone will point me out if I'm wrong though :)

 

Take a look at this, maybe it'll help.

http://blogs.msdn.com/b/davrous/archive/2014/11/18/understanding-collisions-amp-physics-by-building-a-cool-webgl-babylon-js-demo-with-oimo-js.aspx

Link to comment
Share on other sites

Thanks EJanuszewski for your help but,i already went through above link , but for now i am not trying to use physics engine as i want to check simple collision just like a simple wall collision i even check with 

character.onCollide

 function  and found that collision is taking place but my mesh getting through it not stopping while collision occur .

 

 

 

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...