Actor moving all over the place
Hi All,
Sorry for this noobish question, I have started game salad 2 weeks ago, and cant get to solve this problem.
A) I disabled gravity (both xy with 0 values) and used accelerate (downward) as my temporary gravity. I then use move to (positionmouse x , positionmouse x , I don't want it to move to y) when my actor hits the floor. The actor can walk freely on the floor ( X axis) without problems.
The problem:
I then have a trigger switch, when I click this with my mouse, it replaces the accelerate downward to upward, thus the actor flies up and hits the ceiling. When the actor hits the ceiling, he stays there, this proves that the gravity is upward.
NOW, when I use the "move to" command, the actor sometimes moves x, but sometimes it moves on the Y direction (it seems its floating all over the place). So, how come when my actor hits the floor (affected by downward acceleration) he can walk around x axis only, but when he is affected by the upward acceleration, he moves not only in x axis but also in Y?
Please help!
Comments
Is this an automated actor or one you are controlling?
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Thank you for the reply.
Yes its the main actor that I am controlling.
You should a move not a MOVE behavior so it's a direction only not a move to.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I am sorry I did not get what you wrote.
You mean to say I should use "MOVE" Behaviour and not "MOVE TO"
I tried these and result is the same.
Does the actor jump at all? If not you can constrain the Y position.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS