how can i constrain one actor to another that moves
chicop
Member Posts: 263
hi
i have a platform moving left to right back and forth.. i am trying to constrain another actor to it so it moves with the platform...
ive tried constraining self.position.X but i just can not find to what to constrain it ..
thanks any help is appreciated
i have a platform moving left to right back and forth.. i am trying to constrain another actor to it so it moves with the platform...
ive tried constraining self.position.X but i just can not find to what to constrain it ..
thanks any help is appreciated
Comments
On the platform:
constrain platformX to self.position.X
constrain platformY to self.position.Y
On your other actor:
constrain self.position.X to PlatformX
constrain self.position.Y to PlatformY
thanks guys