Question: Problem Definition Consider the following relationship for circular motion. = 2 Where: v is the velocity of the object. r is the radius of the

Problem Definition
Consider the following relationship for circular motion.
=2
Where:
v is the velocity of the object.
r is the radius of the circle.
T is the period (in secs) to complete a full circle (360 degrees).
Problem Task
Consider the motion of a cube object illustrated in the figure below. This object rotates with a
constant velocity, v, and constant radius, r. To do this the cube must rotate about its own y-axis
at the same rate it moves around the circle.
Create a script named MoveObject_CircularMotion.cs, and fill in the necessary instructions so
that a cube rotates as shown in a circle of radius r. This is accomplished by:
Computing the rotation speed for a given radius and velocity. This rotation rate can be
determined using the equation shown above to find . That will give you a value in
seconds to complete 360 degrees. It must then be normalized to represent degree/sec.
This is the rotation rate.
Implement the computed rotation speed and given velocity using the transform.Rotate()
and transform.Translate() methods, respectively. This will result in the object moving in a
circle motion.
Fig 1 Illustration of a Cube Rotating in a Circular Manner Left Hand Coordinate System

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!