I’m making a game where you avoid or bump into a red dot as it falls. The red dot is randomly coming down vertically. Please tell me how to make it fall randomly between -45 and -135 degrees.
A force that rotates an object is called a “torque”.
Try moving your object using a torque with an angle in a specific range (in case it gets out of the screen).
Also, did you try rotating the object?