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.
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.
Comments
What does that even mean?
I have never seen such a random thread haha
Loop a constrained actor? What? That is random hahahahahaha
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.
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.
Here is a template. It works for me.
Nice and thx for the tip...It is much appreciated
You are welcome
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