Problem with gravity and move
hi everyone,
i'm working on a new game but i have the scene gravity Y set to 200 and i have an actor is moving on the x axis, but if I turn off the move behavior the actor fall down (affected by gravity) and if i turn on it doesn't work, it only move right. why?
i know it'a stupid question, but i never created a game like that.
thanks
i'm working on a new game but i have the scene gravity Y set to 200 and i have an actor is moving on the x axis, but if I turn off the move behavior the actor fall down (affected by gravity) and if i turn on it doesn't work, it only move right. why?
i know it'a stupid question, but i never created a game like that.
thanks
Best Answer
-
Braydon_SFX Posts: 9,273
Something you might want to do is put an accelerate behavior in each actor you want to be effected by gravity. Do that instead of having the whole scene have gravity.
Answers
Any idea?
here is a screenshot of my rules.
Use change velocity or change its self motion linear x attribute.
Nope, thats because your moving along a ground actor. Add a jump button to it then jump and move and watch what happens. Move behavior will over ride gravity. Thats how the move behavior works, i talked to the gs guys a long time ago about this.
1) if i try to add the scene gravity the ground fall but i can't uncheck the movable box
2) if i try to add an accelerate behavior to the main character it push down the ground.
I hope you can understand my bad english...