Questions tagged [rotateanimation]

An animation that controls the rotation of an object. This rotation takes place in the X-Y plane.

103 questions
0
votes
1 answer

How to stop imageview any degree with rotateanimation on Android

I have a problem with rotate animation. I want my image to stop where I want as degree.I can stop it where I wanted but It goes to starting degree again.. Such as, it starts 0 degree and I wanted to stop it in 270 degree. Its ok but after halfsecond…
0
votes
1 answer

AndEngine smooth turning

I'm developing a simple educational game using AndEngine. To move the object on the path I use Path and I am struggling to give it a smooth turning effect. Can anyone explain me how to make object move along specified path with smooth turns?
Pinchy
  • 1,506
  • 8
  • 28
  • 49
0
votes
1 answer

iPhone how to translate layer via custom path?

I have made CAlayer that contains an image. What i basically want to do is to translate this image to new location, but not by using simple straight forward path, but i want to move image to that location by using circular path. I cant use rotation…
MegaManX
  • 8,766
  • 12
  • 51
  • 83
0
votes
2 answers

Rotate an image in clockwise & Anti Clockwise direction

I have used http://raphaeljs.com/image-rotation.html raphel's script but. How how can v save this rotated image.
merlin
  • 81
  • 1
  • 1
  • 6
0
votes
1 answer

Using MEL Expressions on Maya Particles to Control Joint Rotation

I've used an expression to emit particles on the death of a first particle object and it works really well. What I want to do now is use this second set of particles (with defined lifespan.PP) to drive joint rotation, again using expressions ie…
mdivjak
  • 11
  • 2
0
votes
0 answers

How to rotate only the canvas behind the text

I have this function that animate the image canvas from resource drawable with text on the front. I want to rotate the a green "star" only so the text stay intact The idea is to rotate only the image canvas but no the text. How do I do that? This…
exequielc
  • 681
  • 1
  • 11
  • 32
0
votes
1 answer

Android Object Animator executes longer than the duration

I've an ObjectAnimator to rotate an image every 200 milliseconds until it reaches from 0 to 360 angle. Everything works fine, expect the duration it takes. For one cycle, the animation is running 20 to 30 milliseconds (varies on devices) more, which…
Libin
  • 16,967
  • 7
  • 61
  • 83
0
votes
2 answers

Swipe to rotate Sprite Node in SpriteKit

my problem is I don't know how to rotate a sprite by swipe. I want to rotate it clockwise when I swipe to the left, and other way when I swipe to the right. And how fast I swipe is how fast it rotate, then it slow down and stop. I tried to look for…
Thanh
  • 65
  • 2
  • 10
0
votes
1 answer

Roulette anim rotation get the location that it stop android

I try to make the game of spin the wheel in Android. I find it hard to rotate the circle in the right way. I'd love help how to rotate the circle and stop it so I get a different result each time. At the moment it turns a defined amount of times and…
gal
  • 71
  • 1
  • 12
0
votes
0 answers

Rotate view using touch motion event and giving it an initial velocity to rotate itself

I want to rotate an imageview by using users motion event and then the image must keep on rotating with a decelerating angular velocity. I was able to rotate the imageview using ontouchlistener. Then I tried to compute the velocity of the view and…
nktkarnany
  • 43
  • 1
  • 11
0
votes
1 answer

How do I make imageView rotate and translate around itself at the same time?[android]

On touch apple "falls" (translates) down from a tree and should rotate around itself and translate. Animation apple3_anim = AnimationUtils.loadAnimation(this, R.anim.apple3_animation); …
ERJAN
  • 23,696
  • 23
  • 72
  • 146
0
votes
0 answers

Android - Make a semi circle progress animation with two images

I need to make an animation like this: http://youtu.be/LC6wptkt2Wk?t=27s To do this i have this three images: http://postimg.org/image/yhcs4svrz/ s13.postimg.org/u02s9rwvb/daily_goal_ring_blur.png …
0
votes
1 answer

Universal Tween Engine / LibGDX: models losing transform and rotation between tweens in sequence

I'm working on a 3d game and trying to get character movement set up correctly. The interaction is simple, there's a single model on the screen, a user clicks a point on the screen, the model rotates to face the point clicked (right now the model is…
nils
  • 338
  • 4
  • 11
0
votes
1 answer

rotate a refresh button in ListView

recently I wrote a function.it's about a refresh button in each list item. what I want is click the button or List Item, the refresh button starts rotate. stops when the request finished. I use animation as follows:
Jaden Gu
  • 9,143
  • 3
  • 23
  • 26
0
votes
1 answer

Getting Coordinates after Rotate Transition JavaFX

I'm writing a game like Wheel of Fortune, with the Wheel is actually an JavaFX ImageView lay outed to the right most of window. This wheel is made up of 15 piece (24 degree for each). Basically, after RotateTransition finish I want to get the…
DucCuong
  • 638
  • 1
  • 7
  • 26