syed samoon Posted December 21, 2017 Share Posted December 21, 2017 how to avoid the bouncing of sphere collider object i want to force stop of bouncing for player because i'm using cannon physics engine when the player jump over the box then the player will bouncing to very large distance in sky Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 21, 2017 Share Posted December 21, 2017 set the restitution to 0 when creating the impostor, this will prevent force-returns (hence - bouncing ) Quote Link to comment Share on other sites More sharing options...
syed samoon Posted December 21, 2017 Author Share Posted December 21, 2017 2 hours ago, RaananW said: set the restitution to 0 when creating the impostor, this will prevent force-returns (hence - bouncing ) thanks i already fixed it but now also my mesh is bounching. it will bounce only it's collide with another mesh. my question is. when player is moving in certain speed and it collide with box which also physics enabled how to force stop this type of bouncing Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 21, 2017 Share Posted December 21, 2017 low restitution will prevent bouncing between two meshes. It will bounce on when colliding, of course, just like a ball jumping on the floor. If you set the floor's (and the ball's) restitution to 0, the ball will not bounce Quote Link to comment Share on other sites More sharing options...
syed samoon Posted December 21, 2017 Author Share Posted December 21, 2017 1 hour ago, RaananW said: low restitution will prevent bouncing between two meshes. It will bounce on when colliding, of course, just like a ball jumping on the floor. If you set the floor's (and the ball's) restitution to 0, the ball will not bounce i will make player, floor, and box also 0 but it will still bounching i don't know where i done wrong Quote Link to comment Share on other sites More sharing options...
RaananW Posted December 22, 2017 Share Posted December 22, 2017 If you can reproduce it in the playground, it would be great. This way I can see exactly what the issue is 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.