Moving platform problem

liamoliamo Member Posts: 191
edited July 2012 in Working with GS (Mac)
Hey guys, I have a moving platform working, just a simple up and down movement between 2 points, it takes 10 seconds from one point to the other, using interpolate. when the player jumps on the platform, however, he is frozen in place, he can't move or jump around (he jumps using linear velocity y and moves with linear velocity x). I want him to be able to move around on the platform and jump. How can I do this?

Cheers
Liamo

Comments

  • master200012master200012 Member Posts: 372
    Do you use the change velocity behavior? If you are, make sure its relative to the actor, not scene. You can't change the actor's linear velocity y with change attribute behaviors because those are relative to the scene.

    As for using the interpolate behavior, that could also be a problem. Instead increase the density of the platform to something incredibly high. This will prevent outside forces from causing it to bounce or move away. Change the velocity of the platform every so and so seconds.

    Remember the speed used in the move and change velocity behaviors is in pixels per second.

    Hope this helps!
Sign In or Register to comment.