Objects moving with seemingly no force

I want to create a simple pendulum that moves when the ball is clicked and collides with the bottom part of it. However, on starting the space the pendulum is already in motion. What forces is it it reacting to to make it move in this way? I don’t understand what is going on here so any help would be greatly appreciated. Thanks.

https://cospac.es/RZYs

Hi Mark!
The force comes from physics engine that tries to resolve collision between the beam and supports.
There is no holes for the beam so the engine is trying to push it away. To fix this you can turn physics off for supports.

Also in CoBlocks script you restricted movement of the whole group with the beam, which fixes its center of mass in the space. I assume you wanted just beam to be fixed, so the pendulum rotates around beam axis.

Here is a space with adjusted physics setting and CoBlocks script. You can remix it and explore youself. Hope this helps! =)

1 Like

That’s exactly it - thanks very much for the explanation. I think I get it now.

1 Like