How to Spawn 10 actors around 360 degrees

If any one know please help me
How to Spawn 10 actors around 360 degrees

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2015

    @Simple Apps said:

    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)

  • Simple AppsSimple Apps Member Posts: 158
    edited January 2015

    @Socks‌
    i did not understand.
    like in the image I want the bullets to fire round 360 degrees.

  • SocksSocks London, UK.Member Posts: 12,822

    @Simple Apps said:
    Socks‌
    i did not understand.
    like in the image I want the bullets to fire round 360 degrees.

    I don't understand.

  • Simple AppsSimple Apps Member Posts: 158
    edited January 2015

    I want the bullets to fire like the above image .when a button is pressed

  • SocksSocks London, UK.Member Posts: 12,822

    @Simple Apps said:
    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 ?

  • Simple AppsSimple Apps Member Posts: 158

    yeah in 10 directions

  • SocksSocks London, UK.Member Posts: 12,822

    Can you be any more specific?

  • Simple AppsSimple Apps Member Posts: 158
    edited January 2015

    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 :smile:

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 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:

  • Simple AppsSimple Apps Member Posts: 158

    @tatiang‌
    Thanks, Got it.

Sign In or Register to comment.