Constrain attribute question
DrGlickert
Member Posts: 1,135
I'm randomly spawning bricks that fall from the top of the screen. Ideally, I don't want the bricks to move left/right but up/down is okay.
So, am I able to Constrain Attribute: self.position.X to self.position.X? Will that prevent the left and right movements?
So, am I able to Constrain Attribute: self.position.X to self.position.X? Will that prevent the left and right movements?
Comments
And change self.Position.X to that.
Something like:
Change Attribute: self.myInitialX To: self.Postion.X
Constrain Attribute: self.Postion.X To: self.myInitialX
Constrain Atribute: self.motion.linear.X To: 0