playMaker

Author Topic: Smooth Translation in a Direction  (Read 4589 times)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Smooth Translation in a Direction
« Reply #15 on: August 17, 2018, 12:25:36 AM »
Hi.
if you rotate the movement will stay the same, unless if inside a parent that is rotated.
But using a parent in this case will not be good either.
If the rotation is in steps of 90 degree you can make a system to determine on what rotation you currently are.

I made a sample scene (attachment below) that you can check as it is hard to explain with text :)
just place in your project or a new project that has playmaker installed.

Let me know if you understand what i am doing there, if not i will see if i can make a video next week.

Ulrick

  • Playmaker Newbie
  • *
  • Posts: 12
Re: Smooth Translation in a Direction
« Reply #16 on: August 23, 2018, 10:37:06 PM »
It works perfectly !

I understand for the rotation, it seems clear :)
I just add my block-by-walls system on top of it and it works,

Thanks a lot for your time ! I'll show you the result :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Smooth Translation in a Direction
« Reply #17 on: August 24, 2018, 08:39:37 AM »
Hi.
Happy to help :D