There are so many different things with math.
math.sin (cos and tan)
math.random()
math.min
math.max
math.floor
2 + 2
4*16
8^2
etc.
I recently looked at the rope physics game, and I talked to the creator. He said the ropes were purely CFramed, and there were no welds or glue or anything else. I Googled the thing he talked about: "Verlet Integration" and I found it very interesting. I understand the basic concept of how the laws of physics and how even an anchored part can move based off of its velocity, but that's where constraints come into play. Essentially, it tells a part where it can and cannot go, and otherwise lets it free roam. I understand the concept, but not the math behind it. I tried this on Studio, but when I plugged it in the part flew away exponentially :/ any help?
|