Questions tagged [projectile]

A projectile refers to an object, point type or solid, that was launched into an orbit or ballistic trajectory and is typically traveling at high velocity.

A projectile refers to an object, point type or solid, that was launched into an orbit or ballistic trajectory and is typically traveling at high velocity.

252 questions
1
vote
2 answers

Open a fixed file from a project (in Emacs Projectile)

How can I code a function to open the same relative file (for example, server/logfile.txt) from a project? So, this should be relative to the project I'm in. projectile-find-file list all of them, not only the one which we're interested to open...
user3341592
  • 1,419
  • 1
  • 17
  • 36
1
vote
0 answers

How to draw a projectile following specific XY coordinates on a given bitmp under Delphi

In fact i want to draw an animated line from a given Tpoint coordinates to an other Tpoint on a Bitmap canvas for that i tried to read some open sources of OpenGl but task seems to be hard for my little competences in delphi i found this C++ source…
Novicius
  • 31
  • 5
1
vote
1 answer

Is there a numerical method for approaching the first derivative at t = 0 s in a real-time application?

I want to improve step-by-step, whilst unevenly-sampled data are coming, the value of the first derivative at t = 0 s. For example, if you want to find the initial velocity in a projectile's motion, but you do not know its final position and…
1
vote
2 answers

Issues with predicting a projectile motion by Euler's method

I am trying to predict the projectile motion of a basketball. Please not that I am not considering any effect of air drag, just the effect of g.I am using euler's method for this purpose. I am able to track the ball quite accurately. However the…
Parth
  • 39
  • 10
1
vote
1 answer

Trying to write a C# code to make a missile follow the player in Unity

I have been trying this for two days with no success. I cant figure out where I'm missing the point. All the missiles are moving towards the position of the target but not following it. The position remains fixed and all the newly created missiles…
1
vote
1 answer

Problems setting up Helm-Projectile for emacs

I'm new to emacs, about a week and a half now. I'm on a mac, high sierra, 10.13.2. I'm using use-package. I've been trying to set up helm-projectile, using a basic config such as this link, but I can't get helm-projectile-find-file to work (I'm a…
Nathan
  • 222
  • 2
  • 9
1
vote
1 answer

Calculating Angle of Reach in Scenekit

I'm trying to calculate the Angle of reach to hit a target in a scenekit scene. My maths ability is about 3/Potato, but after a few hours on Khan Academy, I think I've managed to tease out the logic of this "Angle of Reach" formula from wikipedia,…
gargantuan
  • 8,888
  • 16
  • 67
  • 108
1
vote
1 answer

Why do I get inaccuracies when working with large scale/speed projectiles, is it due to Eulerian Integration?

So I am trying to make a Physics Simulation, which aims to simulate a missile going off a long distance away, (for my example I have used 1.6km) and I have a AA weapon at this 1.6km distance; when the missile is launched, due to maths I have worked…
1
vote
1 answer

Bullet Firing In Direction Of Tap

So far, my app has a big ball in the middle and a small ball in the middle also. I would like to be able to tap anywhere on the screen and the small ball shoots in that direction. I've heard people say about creating vectors but I can't seem to get…
1
vote
1 answer

My bullets spawn in the wrong place

In my game, the player can rotate using the arrow keys. Based on the angle of the player's rotation, when a bullet is fired, it travels in the direction the player is facing. That part works, however, the bullet is spawning in the wrong place. Below…
Zeefum Dajma
  • 63
  • 1
  • 8
1
vote
1 answer

Animating a Projectile's Trajectory Python

I'm working on learning python more in depth than from my previous questions now that my internship is over and I hit an issue I'm using a book "Doing Math With Python" by Amit Saha which what I decided to jump to was 'Animating a Projectile's…
1
vote
1 answer

How to calculate the angles of the projection in 3d for an object to step at given point?

I need to calculate the angles to through the ball in that direction for a given speed and the point where it should land after thrown. The horizontal angle is easy(We know both start and step points).How to calculate the vertical angle of…
djkpA
  • 1,224
  • 2
  • 27
  • 57
1
vote
1 answer

Game Maker - Can't create tracking projectiles

Hey guys I'm developing a RTS game in Game Maker and I need some help with creating tracking missiles. The idea is to create an object that tracks in real time a given instance of an object unit. To put it simple, create a projectile that follows…
Coldest
  • 21
  • 2
1
vote
1 answer

libgdx - How Box2d body check if bullet position has reach target position?

Here is the link below, how I move bullet to target position using touch point. (Move a body to the touched position using libgdx and box2d) My problem is how do I stop the bullet body, if bullet body has reach target position. I already tried the…
ronscript
  • 397
  • 1
  • 8
  • 33
1
vote
1 answer

How to calculate the trajectory of bullet in Unity2D?

I'm doing the 2D game with bullets moving in parabola, but before I shoot the projectile I want to be able to calculate its trajectory. float velocity = Mathf.Min(Mathf.Max(distance, 1), 2.5f); float cos = Mathf.Cos(…
Pawelsar1
  • 83
  • 1
  • 3
  • 9