Rotating moving actors

In my game I have many of the same actor(actor1) spawning inside another actor(actor2) and exploding outwards in different directions. At the moment I'm using one actor and spawning it many times but each one at a different angle in relation to actor2 and this works perfectly. The problem I'm having is I want to rotate these spawning actors but in doing so instead of going straight they move in circles in relation to their rotating.
Is there a way I can have my actor rotate without having to create separate actors for each individual direction? I know this can be done by spawning the actors in relation to the scene but then I would need a different actor for each direction.
Hope this makes sense?
Dean.
Is there a way I can have my actor rotate without having to create separate actors for each individual direction? I know this can be done by spawning the actors in relation to the scene but then I would need a different actor for each direction.
Hope this makes sense?
Dean.
Comments
1) Use particle FX, much lower CPU usage and creates the same effect.
but if that's not an option for you:
2) Set the initial velocity of the spawned actor using change velocity, then don't apply any more forces and let inertia take over. Rotation is then possible without altering its trajectory so long as you apply no thrust.