-
Notifications
You must be signed in to change notification settings - Fork 308
Objects shaking all time #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@lo-th, could you please help me? |
i think you should increase size of all object |
@lo-th, Thanks for reply. I have coins with different size. Also I can show you example with cubes where i thing we have the same problem. Cubes are shaking. But they should not do that. |
yes cube is to little *10 or *100 and you see difference |
@lo-th, I increased the cubes by 10 or 100, but they are still shaking. Is it possible to remove shaking without increasing all objects? Thanks! |
mm you can try to up world iteration or maybe change physics engine Energy have verry good stacking oimo don't have linear or rotation limiter |
fix the problem?The coefficient of restitution of the shape in config maybe help you. |
Bump; curious if you ever solved this issue! |
Hey.
I am using Oimo.js physics for Babylon.js, and I has arisen a problem. When several objects are near or above each other, these objects start to shake uncontrollably until the objects fly apart from each other.
I attach a link to the video. Someone can help with this problem?
https://youtu.be/fAEQQYNWHlc
In the video, I do not attach any force to the objects. I spawn them down and put some objects on top of others.
I found the function this.orientation.addTime (this.angularVelocity, timeStep);
if this.angularVelocity assigns all coordinates to 0, then the shaking problem is solved, but in this way I block the turns of objects, but for me they are important. Can someone tell me on this issue? I also found that the authors of this code were
Would be very grateful for the help.
With best regards, Roman.
The text was updated successfully, but these errors were encountered: