Advertisement Jump to content
  • Advertisement

vr_marco

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vr_marco

  • Rank
    Newbie

Personal Information

  • Interests
    Business
    Programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. vr_marco

    Tricycle physics

    So you know that Torque = Inertia * Angular Acceleration and therefore Angular Acceleration = Torque / Inertia Now, since angular acceleration is the time derivative of angular speed, to get angular speed from angular acceleration you have to do the inverse operation of a derivative, which happens to be an integration. The easiest way to do it is to use Euler’s integration: Angular Speed [current frame] = Angular Speed [previous frame] + Angular Acceleration * Delta Time between frames Once you have the Angular Speed, you can apply once more Euler’s integration to get the rotation angle. In this way you have linked the input Torque to the rotation (angle) of your jack.
  2. vr_marco

    Tricycle physics

    When you apply a force to the handle, assuming the rear wheel is always aligned to its direction, you can consider the longitudinal component and the lateral component separately. The lateral component adds a torque which causes a rotation around the mid point between the forward wheels. The longitudinal component makes the jack advance or backup. F_long = F * cos(alpha) F_lat = F * sin(alpha) where alpha is the angle you are turning the handle. At 90 degrees, there is no longitudinal component as cos(alpha) = 0, but sin(alpha) = 1 so it is pure torque and the jack should indeed spin in place. Assuming the handle is applied to the center of the rear wheel and the distance between the axle of the rear wheel and the midpoint between the front wheels is L, then the rotational torque is: T = F * sin(alpha) * L With the forces and torque known, assuming you know mass and moment of inertia around the Z (pointing up) axis, you can calculate the accelerations, then integrate to determine the velocities and integrate once more to determine position and angle of your jack.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!