MATLAB Answers

How do I keep to solid objects from passing through each other

28 views (last 30 days)
George Marrash
George Marrash on 3 Jul 2014
Commented: Rajat Mishra on 4 Oct 2020
I am trying to set up a simulation of a bouncing ball for my students, yet my ball keeps passing through my floor how do I prevent this? I have attached my model
thanks in advanced
george marrash
  2 Comments
Furkan ARPACI
Furkan ARPACI on 17 Dec 2019
I'm assuming you have already put a sphere-to-plane block in your system. If you haven't then you must define a contact force between the plane and the sphere.Then double click on the Sphere to Plane Force block , set the contact stiffness parameter(under contact tab) to relatively high value(i.e.1e10N/m would be enough i guess).

Sign in to comment.

Answers (3)



Kalana Vidurath
Kalana Vidurath on 22 Nov 2018
Were you able to fix this? i used contact forces library but yet it passes through each other. I dont know what i did wrong. can anyone give me any tips for using contact forces library correctly. i followed the shere on table(plane) example?
  5 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!