Jump to content

how to calculate ellipsoid and ellipsoid offset


vahith
 Share

Recommended Posts

Another simpler way would have been to create a sphere and then to use scaling on x, y and z according to the a, b, c values...

 

easier, yes

but not as funny as ribbonic further morphing with just tiny parameter changes : 

 

http://www.babylonjs-playground.com/#MVOFS#1

http://www.babylonjs-playground.com/#MVOFS#2

http://www.babylonjs-playground.com/#MVOFS#3

 

etc

Link to comment
Share on other sites

@jerome: not sure, but I think he means the ellipsoid and ellipsoid offset parameters for the moveWithCollisions... do you @vahith?

 

(But nice move doing some marketing for the ribbon, people need to know! :D )

 

I don't know the answer, though. I played around until I got some values that looked like they fit when I used it so far, but it would be nice to know how to calculate the correct values. Of course it somehow depends on the shape of the mesh and probably also on the use case/the scene, I guess.

Link to comment
Share on other sites

hi

 

@jerome: not sure, but I think he means the ellipsoid and ellipsoid offset parameters for the moveWithCollisions... do you @vahith?

 

(But nice move doing some marketing for the ribbon, people need to know! :D )

 

I don't know the answer, though. I played around until I got some values that looked like they fit when I used it so far, but it would be nice to know how to calculate the correct values. Of course it somehow depends on the shape of the mesh and probably also on the use case/the scene, I guess.

yes that's true i asked ellipsoid and ellipsoid offset parameters for the moveWithCollisions..

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