Is there any way to emulate centrifugal force?
Hi!
I'm trying to make an object similar to a mayal in Unity. I'm using Unity's 2D Physics system and hinge joints to do so. This is what I've got so far:
https://i.gyazo.com/13671e9a1b2edc9ca61eb3a1083a1b22.gif
It works fine except for one thing: it doesn't seem like it's aplying any centrifugal force, which is the fun part of the mayals. When moving the object following a circular motion, it should gain some centrifugal force by itself that makes it spin like a hellicopter.
I don't know if it's something that I've not configured well or simply Unity's physics does not emulate centrifugal forces.
Any idea?
Thanks in advance!
Answer by MelvMay · Jul 29, 2016 at 11:31 AM
It doesn't simulate it because centrifugal force doesn't exist. I can only presume you mean you want the object to move in a stright line using its own momentum but be constrained by some other force.
Thanks for your response!
What I'd like to achieve is the mayal to get more momentum. This way it would swing around more naturally.
If I'm not wrong, theorically I could achieve this by increasing the mayal mass, but it's not the case. In fact, increasing the mass does nothing, apparently.
The forces on your object are being applied by the HingeJoint2D. Those forces are only trying to keep the hinges connected at the hinge points which is restricting the movement.
If you're moving the central object with a force then I would recommend applying the exact same force onto the end. This may result in what you're looking for.