When making pinball flippers in Unity C#, what would be the pros and cons of using a simple mesh transform -- where the mesh is properly centered around the wanted pivot, so its rigidbody could be torque force rotated -- vs creating the flipper with a joint? Thanks!
Hinge joints with a spring and motor work well.
hinge.useMotor is being turned on when
Input.GetKeyDown(), and off when
The Flipper joint settings, inspired by this asset:
Axis 0, 1, 0 Use Spring Spring 2 Motor Target Velocity 3000 Force 100 Use Limits Max 55 Bounce Min Velocity 0.2
And Project Time settings -- handle with care as it may affect framerate:
Fixed Timestep 0.002 Maximum Allowed Timestep 0.03333333
Flipper, ball and bumpers all have respective Physic Materials to lower friction and more.