Questions tagged [acceleration]

ambiguous tag: avoid using this tag (see the full tag wiki for alternatives)

This tag is currently ambiguous and unlikely to get your question extra attention. Consider using the following tags for better classification:

175 questions
0
votes
1 answer

Phaser Framework - check sprite total rotation

I am making a game with the sprite jumping up from the platform. After the jump I have made the sprite to rotate using the angular acceleration. It can rotate clockwise and anticlockwise. I want to calculate whether it rotated clockwise or…
0
votes
1 answer

How to Upload a Single Object to a Transfer Acceleration Enabled Bucket by Android SDK

I use Android SDK to upload files to AWS S3, and want enable transfer accelerate. I have read transfer acceleration examples but only found example for Java. I tried the Java code on Android but with no success: AmazonS3Client s3Client = new…
0
votes
0 answers

Smoother x movement in 2d platform

Currently I'm working on a simple 2d platformer, and I decided to work on physics before working on the general concept of the game. I actually haven't learned physics in school or anything, so I'm just using google/youtube tutorials as my main…
loafy
  • 105
  • 1
  • 11
0
votes
1 answer

How to get total acceleration value from accelerometer(mpu 9150)

I have the value of acceleration in all 3-axis ax,ay,az in unit g. I need the magnitude of total acceleration, so that I used the formula, max_acc= sqrt(ax^2+ ay^2 + az^2) My question is, is my approach correct or not? If it is not correct, your…
Sefat Noor Orni
  • 245
  • 1
  • 5
  • 23
0
votes
1 answer

Is it possible to utilize GPU for general purposes?

In the PC is it possible to somehow utilize GPU from a dedicated grapihcs card for the purpose of increasing the total speed of the system (i.e. total computing power of CPU)? Or is that only possible for applications that can operate with GPU…
winter
  • 121
  • 2
0
votes
1 answer

physics.js attractors, zero gravity and slowing down velocity

I've been experimenting with attractors in physics.js, rigging up a simple object in zero gravity, with an attractor at a point. This creates a great little 'gravity well' as can be seen here. Where the simple square vector attracts towards a point,…
0
votes
1 answer

Android-Change scroll animation as acceleration deceleration

I have listView implemented. When I scroll programmatically, it scrolling animation is very fast. I want the scroll animation to accelerate and then decelerate with a Maximum velocity (and/or duration) provided by me.
M. Usman Khan
  • 3,689
  • 1
  • 59
  • 69
0
votes
1 answer

Android accelerometer sensor values

I'm playing with accelerometer sensor on Android Wear. When I'm reading the values in listener it gives me an array of for example [-19,594337 -19,594337 19,594337]. I mean, really? 19 m/s^2 in all dimensions? Bet Mike Tyson can't do better. Can…
Ivan Tamashevich
  • 291
  • 1
  • 5
  • 14
0
votes
1 answer

How to simulate acceleration using Corona sdk's transitions

Working on a little game with clouds moving in the background. I'm using a runtime listener that upon touching, will make the clouds travel faster. This is done using the transition.to method within Corona sdk. The problem with this is that the…
user3488148
  • 59
  • 1
  • 8
0
votes
2 answers

How to refresh the screen when I draw a line for realtime data

In my current swift program, one function display real time acceleration data on screen with line. So I used class drawRect. As a result, the acceleration figure can be drawn, but not real time everytime I refresh it (turn down the App and reopen).…
sunyi
  • 3
  • 2
0
votes
1 answer

Acceleration and Velocity from X,Y Position Stream C++

I have a stream of (x,y) data that I want to determine velocity and acceleration from. The data is pretty typical and can be thought to represent say a car driving around. A new data point comes every 2ms and I would prefer to not accumulate/store…
Matt Stokes
  • 4,618
  • 9
  • 33
  • 56
0
votes
1 answer

SFML atan2 function and deceleration

if(wIsPressed){ movement.x += sin((player.getRotation() * 3.141592654)/ 180) * .5; //accelerates ship at a rate of 0.5 ms^2 movement.y -= cos((player.getRotation() * 3.141592654)/ 180) * .5; //accelerates ship at a rate of 0.5 ms^2 } else…
user3500457
  • 1
  • 1
  • 1
  • 1
0
votes
2 answers

Calculating acceleration of a tool on Leap motion

I am trying to create a virtual drum with leap motion. If a stick go fast and changes its direction in a moment (means high acceleration), I will count it as a "hit". The problem is I cannot calculate the acceleration of my tool (stick). I checked…
user3079364
  • 171
  • 1
  • 19
0
votes
0 answers

which type of filter can we use to remove gravity from an accelerometer

Context: i have an dispositif which contains an accelerometer. Due this acceleromter, i obtain acceleration in 3 axis . if my dispositif is stable, it gives me : accel x: 0; accel y: 0; accel z: 9,8 ( gravity) when we move the Dispositif, the…
user3602893
  • 35
  • 1
  • 8
0
votes
0 answers

PHP Finding a minimum acceleration of an array

Let's say I have a plotted line, I use the x-coordinates of each point as index of the array and the y-coordinates as the values in the array. With this array, I need to figure out the line's minimum acceleration (the lowest point in the slope of…
user2361174
  • 1,872
  • 4
  • 33
  • 51