Re: CoreAnimation with and manual animation...

2008-04-01 Thread Jens Alfke
On 1 Apr '08, at 3:54 PM, Jesse Grosjean wrote: What I'm doing now is something like this: [CATransaction begin]; [CATransaction setValue:[NSNumber numberWithFloat:0] forKey:kCATransactionAnimationDuration]; I was actually setting the kCATransactionDisableActions property instea

Re: CoreAnimation with and manual animation...

2008-04-01 Thread Jesse Grosjean
Jens, Thanks for your reply. What I'm doing now is something like this: [CATransaction begin]; [CATransaction setValue:[NSNumber numberWithFloat:0] forKey:kCATransactionAnimationDuration]; for (CALayer *each in [rootLayer.sublayers copy]) {

Re: CoreAnimation with and manual animation...

2008-04-01 Thread Jens Alfke
On 1 Apr '08, at 10:44 AM, Jesse Grosjean wrote: n my app it seems like it would be simpler to just setup a timer and just directly update the ships position based on it's velocity for each time interval from my timer. I'd still want to use the built in core animation animations for other

CoreAnimation with and manual animation...

2008-04-01 Thread Jesse Grosjean
I'd like to create something like a spaceship with core animation. That is the object should be animated on screen, but it's velocity will always be changing. Because of this I'm not sure if using core animations build in animation system makes sense, because it seems like most of those ani