Moving Platforms
ToastKitten
Member Posts: 360
Problem: Every time I try to use the self.Motion.Linear Velocity.X, it doesn't move. I figured out that I had 'movable' checkbox under the physics column unchecked. That made it move, but every time my character jumps on it, it flys away.
I already have a workaround that just uses the actor's X coordinates and it doesn't look as smooth.
Any Suggestions?
I already have a workaround that just uses the actor's X coordinates and it doesn't look as smooth.
Any Suggestions?
Comments
In the platform actor, create an integer attribute called something like "originalY".
Then add a Change Attribute and a Constrain Attribute, like this:
Change Attribute: self.originalY To: self.Position.Y
Constrain Attribute: self.Position.Y To: self.originalY
That will make the platform stay put and float in place.