Jump to content

mesh keeps falling through the map when i apply impulse


Dwengo
 Share

Recommended Posts

Hi all, so question is in topic really, I'm toying with point and click functionality using oimo js.

You can see the effects here:

https://playground.babylonjs.com/#645VV4#10  (old one)

https://playground.babylonjs.com/#645VV4#12

If i use a sphereimposter for the mesh i'm moving, it works (kind of).

but if i use the boxImposter (which i kind of want to) the box just falls off the map after a while, I don't update the Y axis at any point.

I did try a kind of hack where i apply a little impulse to lift it off the ground... But it just kept going ._.;

Any ideas on how to prevent this?

 

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