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.
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 -)'
Comments
or the platform slowly falling?
Problem 2 - The platform does not carry my hero
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-
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
It worked perfectly! Thank you!