Hi there
I am using Animation to display a rotating object. My objective is to have the object rotate around itself smoothly for X number of seconds without a pause in between.
I am using the code below
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
The code above seems to do the job, except that the rotation starts slow then increases speed. Is there anything I can do about it to make sure the object rotates at the same speed all the time?
Thanks in advance
			
			I am using Animation to display a rotating object. My objective is to have the object rotate around itself smoothly for X number of seconds without a pause in between.
I am using the code below
			
				B4X:
			
		
		
		aRotate.InitializeRotateCenter(ProcessingLayerEventName, 0, iTimeoutInSecond * 360, ProcessingPanel.GetView(ProcessingPanel.NumberOfViews - 1 ) )
            aRotate.Duration = iTimeoutInSecond * 1000
            aRotate.RepeatCount = 0The code above seems to do the job, except that the rotation starts slow then increases speed. Is there anything I can do about it to make sure the object rotates at the same speed all the time?
Thanks in advance
 
				 
 
		 
 
		 
 
		 
 
		 
 
		