My actor stop moving. Believe in me, i test everything before ask you.
I'm found a little problem in my game! I've an actor called "terrain" that i copy and paste over and over along the X. The problem is that the actor stops when it pass from a "terrain" to an other it stop moving. The main actor have a move behavior.
I've tried to do those things on the main actor:
- Set the linear Velocity to a N number
- Switch the move behavior with Acellerate behavior. But it accelerate so i don't need it
The problem is tha it have to move anyway
I've tried to do those things on the main actor:
- Set the linear Velocity to a N number
- Switch the move behavior with Acellerate behavior. But it accelerate so i don't need it
The problem is tha it have to move anyway
Best Answer
-
scitunes Posts: 4,047
Is it getting caught on the edge of one of these actors? If so try this:
1) Make sure that every terrain actor is at the exact same Y position. It might look like they are but you need to actually open each one and make sure.
2) Have you tried setting the graphics to tile horizontally? If you do this you can drag one actor into the scene and stretch it horizontally as fas as you need and the image wil just repeat.
3) Make the main actor's collision shape circular and check the fixed rotation box.
One of these three things should solve the problem if it is getting caught on the edge. Personally I would go with solution number 2.
Best of luck!
Answers