syed samoon Posted December 16, 2017 Share Posted December 16, 2017 HI, 1. how to add a physics imposter only on front face of the cube when i collide with front face it should be detect when i collide with other 3 face it need not to detect the collision 2. avoid mesh overlapping means 2 mesh a physics enabled player & box . when player jump on the box the player should be bounced. need to avoid that bouncing Advance Thanks Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 16, 2017 Share Posted December 16, 2017 Make a secondary mesh, make it none visible and add the collider to it. Quote Link to comment Share on other sites More sharing options...
syed samoon Posted December 19, 2017 Author Share Posted December 19, 2017 On 12/16/2017 at 9:21 PM, Pryme8 said: Make a secondary mesh, make it none visible and add the collider to it. if i use like that there is performance lack is appear Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 19, 2017 Share Posted December 19, 2017 then you are doing something wrong Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted December 19, 2017 Share Posted December 19, 2017 http://www.babylonjs-playground.com/#Q66V2S#2 I was gonna do a whole pg for you, but I have now run out of time and have to get back to work. If someone can get the physics working on this (its all in place) then you should have an working example. Quote Link to comment Share on other sites More sharing options...
syed samoon Posted December 21, 2017 Author Share Posted December 21, 2017 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.