Problem - I can not create a lift

Hello friends,
I have a problem!
Does anyone know where I can find a video tutorial to learn how to do that shown in the video.
I want my hero to bar press side.

Comments

  • VolontaArtsVolontaArts Member Posts: 510
    which part exactly? the moving platform?

    or the platform slowly falling?
  • MarkinhosMarkinhos Member Posts: 17
    Problem 1 - The platform falls
    Problem 2 - The platform does not carry my hero
  • WingmanappsWingmanapps Member Posts: 458
    Constrain the platforms self.position,y to what ever hight you want.
  • -Timo--Timo- Member Posts: 2,313
    you want when you are standing on the platform the actor moves with the platform?
    make an integer attribute (boolean also should work) lets say we call it 'platform moving'
    in the 'moving platform' you say when self.motion.linear velocity.X >0 do change 'platform moving' to 1
    else
    change to 2

    in the 'hero' you say when collides with platform and 'platform moving' = 1 do change self.motion.linear velocity.X to 'same speed as the platform (its +)'

    when collides with platform and 'platform moving' = 2 do change self.motion.linear velocity.X to 'same speed as the platform (its -)'

    hope this helped
    good luck :)

    -Timo-
  • MarkinhosMarkinhos Member Posts: 17
    Hello timolapre1998 and Wingmanapps.

    It worked perfectly! Thank you!
Sign In or Register to comment.