Hi Everyone, I need to know how can we represent the projectile motion gven a certain angle and velocity, such that I can watch the animated ball moving in is path on screen.... all using openGL in C++
Jump to Post
First have the object ready to fire, meaning have the object at the position
of where its going to be launched.
Then you could do something like this :
Ball.y += ball.velY; Ball.x += ball.velX;
Have the velX faster than velY;
Then you need to change …
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.