Jump to content

Boxes and its colliders


ian
 Share

Recommended Posts

This example is test to see if colliders are alignment as boxes are rendered. This is only for box colliders.

If Box has rotation around x,y and z.  (red box)
Or if Box has rotation around x,y,z and scale around x,y an z. (green box)

You can verify alignment of colliders with debug's tab Physics. (Thanks to Temechon for inspector/debug Physics Tab !)

I was just curious if physics colliders taken into account rotation and scale of mesh. As you can see colliders take into accound rotation and scale. Which is good news. 

Playground is: 

http://www.babylonjs-playground.com/#GH25PT#4

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