Moving platform
Neverbe
Member Posts: 117
I'm trying to move a platform from right to left (like in some platform game) i set the linear velocity x to 50, i had create a rule to detect when the self.Position.X of the actor is equal to self.Position.X+20 change the self.Motion.Linear.X to -self.Motion.Linear.X and another rule to detect when self.Position.X of the actor is equal to self.Position.X-20 then it change self.Motion.Linear.X to -self.Motion.Linear.X but it don't want to work...anyone could help me?
Comments
Then Create a Timer Every (Time you want)
Change Attribute: Self.Motion, Liear X to -self.motion.Linear X
And Done..
+Hope It helps, it works for me.