S
S
Semyon2021-02-07 11:11:22
Qt
Semyon, 2021-02-07 11:11:22

How to implement element physics in a QT application?

I just recently started to understand qt, I want to do a similar thing with graph physics, can you tell me how to implement it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ighor July, 2021-02-07
@Hitreno

Some semblance of physical effects can be obtained from this https://doc.qt.io/qt-5/qeasingcurve.html

A
Armenian Radio, 2021-02-07
@gbg

Qt knows nothing about "physics". She knows a little about geometry, in particular, she knows how to move, rotate and scale QGraphicsSceneItem, and can also find their intersection.
You will have to program the "physics" yourself - school textbooks on physics and geometry will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question