Superfly Posted September 29, 2018 Share Posted September 29, 2018 Hello, i just started a little testproject with babaylon. No big thing, just walking around in a Level an collecting items. When i was doing a prototype i looked a the playground examples. The collision-example is quite close to what i want to achieve: http://www.babylonjs-playground.com/#U8MEB0#0 you can run around, land on the ground and can't walk through obstacles. This is what I want for my player object. So i created, as in the example, a surface as a floor, a couple of boxes as obstacles and a ball as a player. I activated collision detection for the scene and all objects, gravity and a asigned vector, but nothing happened. If I now move objects using locallyTranslate() there will be no collision between the objects. I just think I misunderstood something and so I wanted to ask here what the correct way is to implement a character walking arround in a level. Quote Link to comment Share on other sites More sharing options...
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.