Search found 8 matches

by Forinti
Thu Nov 04, 2021 11:31 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

I could post my code but it's big and it's been a while since I worked on it, I did a lot of tests and I don't know what state it is anymore, it might be dirty. This is why I am afraid that there will be errors if it is the case it would be a bad support of comprehension for you. I'm currently rewri...
by Forinti
Thu Jul 16, 2020 10:21 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

Hello phenom Did you find a solution ? If this is not resolved can you detail your problem a bit and post your code so that I can help you. It will be difficult to detail how I did it because I moved away from the box2d-lite pattern (even if the idea remains the same) because I had precisely this pr...
by Forinti
Sat Nov 23, 2019 9:15 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

Well, I finally found the solution. I decided to solve the problem in the other direction, I took the source code of a functional engine (dyn4j because quite simple and especially in Java) and I reduced it to the minimum possible by incorporating my code (it was quite long). I arrived at a point tot...
by Forinti
Sun Nov 10, 2019 10:01 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

It bothers me a lot but I give up the warmstarting, I can not find the problem and I do tests that make no sense. I'm posting the light engine code or doing tests in case something gets in your way ... Anyway thanks for your help Irlan. package physic; public class Manifold { public static final cla...
by Forinti
Wed Nov 06, 2019 7:35 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

It's interesting, I'll look at this more deeply. I had just left a little aside the problem described in this post to implement the friction. For the bouncing problem, from the last answer I made an extremely lightweight physics engine that only handles circles and resolves only the linear velocity ...
by Forinti
Sun Nov 03, 2019 7:56 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

Hello Irlan, I just saw your answer, thank you. I can not stop comparing but something must escape me. I will rewrite a test engine that only manages circles with the minimum possible to facilitate debugging and get to the point. In the meantime I'm attaching a video of the problem, if anyone has an...
by Forinti
Sat Oct 05, 2019 9:01 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Re: Boucing with sequential impulse

Hello everyone, I still haven't found out where the problem lies, despite a lot of tests: - Change the way you maintain contact between images (by id vs by distance) - Put a different color on contacts that persit - Manage a single contact by collision - Changing the way to preserve body peers - Cha...
by Forinti
Sun Sep 15, 2019 7:12 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Boucing with sequential impulse
Replies: 12
Views: 57682

Boucing with sequential impulse

Hello everyone, Above all, sorry for my bad english. I make a physic engine based on sequential impulses but i have a problem of bouncing, i have debugged this for 2 weeks but I do not find the problem. In my previous attemps, i try to solve the contact velocity with an impulse and a velocity bias b...