How can i loop my constrained actor?

Its complicated TT....

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    What does that even mean?

  • ApprowApprow Member Posts: 703

    I have never seen such a random thread haha

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Loop a constrained actor? What? That is random hahahahahaha

  • Flames.InovationFlames.Inovation Member Posts: 16

    Sry i didnt explain my question properly. I have difficulties on my coin actor,can my coins stay ON the ground although the ground is like a hill.I tried constrain attribute but did not work. :'(

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Create two self attributes in the coin. FirstX and FirstY for example. Make a change attribute that says change attribute self.FirstX to self.Position.X. Do that same with the self.FirstY. Then make a rule that says, if self.FirstX > 0 :do: constrain attribute self.Position.X to self.FirstX. Then do the same with the Y. This will allow the coin to always stay where it is spawned.

  • SLOCM3ZSLOCM3Z Member Posts: 797

    Here is a template. It works for me.

  • Flames.InovationFlames.Inovation Member Posts: 16

    Nice and thx for the tip...It is much appreciated :)

  • SLOCM3ZSLOCM3Z Member Posts: 797

    You are welcome

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    What did that have to do with looping...lol

  • SLOCM3ZSLOCM3Z Member Posts: 797
    edited September 2015

    @Lost_Oasis_Games said:
    What did that have to do with looping...lol

    I'm going to copy a famous saying. Who knows ?! Maybe he thought he would have to loop a stay in position rule or something

Sign In or Register to comment.