Jump to content

problem with gravity and collision


spoderman
 Share

Recommended Posts

ok, one last question :)

 

i'am not if i get the gravity thing correct. from other engine(s) i usualy know  a process like thie: aktivate gravity, adding gravity to an object and it will keep falling down as long as the scene is running. if  i add a collider it will fall until it hits another collider.

 

why i have to move a object, in babylon, manualy down? isn't this making the gravity property a little useless or just i didnt get it right? :)

 

if i'am thinking a little further and i would like to make a player 'jumping' ... would this be a point where i have to use a real physicengine?

Link to comment
Share on other sites

Beware here: this will work if you enable the physics engine (plenty of great articles about it in our documentation)

The collision system is a lightweight system that you have to use manually. It is faster than the physics engine but less flexible and precise. It's basically the system used by the FreeCamera to simulate collisions with environment

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