playMaker

Author Topic: [SOLVED]2(.5)D side platform, trying to correct player x,y,(Z) when wrong.  (Read 1567 times)

Martin-Vaupell

  • Junior Playmaker
  • **
  • Posts: 70
  • Creating CarbonDiOxide
    • Evisystems
Animations cause this character in the asset to move in depth,
also sometimes interacting with objects.

Trying to fix it using playMaker.

The idea was first i would constantly get Z, correct Z but it worked but was quite high CPU intensive ;)

So trying this way instead, But I'm getting a max 1000 loop warning.
and the character moves -Z until he falls off. 

He needs to stay on the Z depth of -0.5


Here is what i got in images first ;)

Overview of the issue
http://i.imgur.com/M7MXvlE.png  <-- large img. for small width forum.

getting the initial postion when the level starts


getting "current" position and comparing it with the start


Ajusting the depth of the player if its wrong


And he is "force" moved to his death




So any suggestions ;)
« Last Edit: January 12, 2014, 05:20:23 PM by VaupellAgainNoMailReceive »

Martin-Vaupell

  • Junior Playmaker
  • **
  • Posts: 70
  • Creating CarbonDiOxide
    • Evisystems
Re: 2(.5)D side platform, trying to correct player x,y,(Z) when wrong.
« Reply #1 on: January 12, 2014, 05:20:13 PM »

Ohh lol  solved it myself

Was exiting the float comparer the wrong way.. :p

Exchanged it as on the picture below :D works fine now .