rotation problem

gamedivisiongamedivision Member Posts: 807
edited November -1 in Working with GS (Mac)
i have one actor that rotates when falling from the sky,that spawns loads of other actors,my problem is the other actors that it spawns rotate as well,i dont want them to rotate,ive ticked fixed rotation in physics but still they rotate,
they dont continuosly rotate just stay in that position they where left in by main actor
any ideas

Comments

  • SkyMapleSkyMaple Member Posts: 817
    gamedivisionuk said:
    i have one actor that rotates when falling from the sky,that spawns loads of other actors,my problem is the other actors that it spawns rotate as well,i dont want them to rotate,ive ticked fixed rotation in physics but still they rotate,
    they dont continuosly rotate just stay in that position they where left in by main actor
    any ideas

    On the first actor, are you using relative to scene or actor on the spawn attribute? Changing it to scene might solve your problem.

    _____________________________________________________________________________
    Game Making Service
    Sketch to Vector Service
    "Power Orb" Style Template
    Targeting System Template
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    On the spawned actors, the first behaviour in them just have a change attribute self.motion.angularvelocity to 0

    Ace

    mynameisace.com
  • Rob2Rob2 Member Posts: 2,402
    in your spawned actor just place a change attribute rotation 0
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Rob2 said:
    in your spawned actor just place a change attribute rotation 0

    That would only change the rotation back to normal, the angular velocity would still be spinning it I think.

    Ace

    mynameisace.com
  • Rob2Rob2 Member Posts: 2,402
    1. SkyMaple was the easiest with spawning direction relative to scene if the spawners rotational position isn't wanted.

    2. @Ace the spawner doesn't pass self velocities to the spawned ;)
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Yeah I know that it doesn't pass it's own self velocities but there must be angular velocity for it to spin?

    Ace

    mynameisace.com
  • gamedivisiongamedivision Member Posts: 807
    ok sorted tried all of them and the only one to work was rob2 with change attribute rotation to 0,to sky maple i did check relative to scene and it was,so i tried relative to actor and the think just floated off ha,but thank you very much for all responses
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Glad you got it sorted!

    Ace

    mynameisace.com
Sign In or Register to comment.