Interpolate non-moveable actors, HOW?
BrynjeBamsen
Member Posts: 188
due to gravity i have to make my actor non-moveable.
in this case i would like to have my actor move back and forth like a trap door closing and opening over and over?
Ive been told this is possible with interpolate? but how
in this case i would like to have my actor move back and forth like a trap door closing and opening over and over?
Ive been told this is possible with interpolate? but how
Comments
there no touch involved! i just want them automatically to go up and down over and over....
"The best way to do it if you want more control over the platform and to place it easy in the scene imo is to do...
Make a real self.attribute call it startX
change attribute self.startX to self.position.X (this stores the X position of the platform in the scene so you can now place it anywhere).
make a rule if self.position.x = self.startX
Interpolate self.position.X to self.startX+100
otherwise (still using one rule)
if self.position.x = self.startX+100
Interpolate self.position.X to self.startX
You can now place this actor anywhere and have multiple copies and also change the travel distance for each platform."