How do I stretch an actor connected to another actor?
My idea is to have a drill that goes up and down, everytime it goes down it's destroying soil to get down to where lava is, under the earth. I got the sprites of the tip of the drill but my question is how do I make so that the tube that is holding the drill keep stretching out from the top to the bottom when you press down? I have an actor of the tube attached to the actor of the drill head.
I saw a demo of a block that uses the spawn action and kinda leaves a trace behind when you move it. I can recreate the block going down but when I want it to go back up the spawn from when it was going down are still showing, even after the square is fully back at the top position. I'm really trying to figure this out. Any ideas?
I saw a demo of a block that uses the spawn action and kinda leaves a trace behind when you move it. I can recreate the block going down but when I want it to go back up the spawn from when it was going down are still showing, even after the square is fully back at the top position. I'm really trying to figure this out. Any ideas?
Comments
To move an actor (like a drill 'tube') up and down, you can change its y attribute. Place a very long 'tube' on the bottom layer (behind everything) and then constrain its y attribute to be in sync with the drill head. For example, you could:
Constrain attribute: self.Position.Y, To: (drill_head.Position.Y)+100