A
A
Arseniy Khusainov2021-08-10 20:23:01
pygame
Arseniy Khusainov, 2021-08-10 20:23:01

How to make arrow physics?

How can I implement arrow physics along with the force of the shot in pygame, including calculating the rotation of the arrow image?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2021-08-10
@leahch

Make the drag coefficients for the tip and tail 0.9 and 0.4, and then play with them. Flight is a task for the 6th grade of physics and geometry. The rotation is also set by the coefficient of the distance traveled.

U
U235U235, 2021-08-11
@U235U235

As a first approximation, you can orient the arrow along the velocity vector and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question