when touch is pressed i want 10 or more actors to head away from the main actor in all directions like sun rays.
Sorry my english is not so good i think iam troubling you
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
edited January 2015
Here's a demo of how to do this using Mac Creator. You didn't say if you were using a Mac or PC. If you have PC Creator, the general idea is to use 12 Spawn Actor behaviors and increase the direction by 30 each time. Here is a screenshot of the first three:
Comments
Rule: When AngularDrag is < 360
>></font color> Timer: Every 0 seconds
>>>></font color> Spawn actor X
>>>></font color> Position X = radius *cos( self.Physics.Angular Drag )
>>>></font color> Positon Y = radius *sin( self.Physics.Angular Drag )
>>>></font color> Relative to actor
>>>></font color> Change AngularDrag to AngularDrag +36
(I've assumed you are not using AngularDrag in your project)
@Socks
i did not understand.
like in the image I want the bullets to fire round 360 degrees.
I don't understand.
I want the bullets to fire like the above image .when a button is pressed
How does the above image relate to the "10 actors" ? Do you want 10 actors to head away from the main actor in one direction ?
yeah in 10 directions
Can you be any more specific?
when touch is pressed i want 10 or more actors to head away from the main actor in all directions like sun rays.
Sorry my english is not so good i think iam troubling you
Here's a demo of how to do this using Mac Creator. You didn't say if you were using a Mac or PC. If you have PC Creator, the general idea is to use 12 Spawn Actor behaviors and increase the direction by 30 each time. Here is a screenshot of the first three:
@tatiang
Thanks, Got it.