0
Answered

Constantly Moving Foward

Ruvi 5 months ago in Game Creator updated by Marti (Lead Developer) 5 months ago 1

Easy question!  I'm trying to learn game Creator but I can't seem to find a way to create a constant force forward.  I'm experimenting with one of those endless runner type of games.  Any advice?  Thanks!

Unity version:
3.10pf1
Game Creator version:
newest
GOOD, I'M SATISFIED

Ha, that's clever.  Ok, I'll give it a shot.

Satisfaction mark by Ruvi 5 months ago
Answered

There's no Action that makes a character move forward, but you can attach an empty game object as a child of the character/player and move it 10 units forward (for example). Then, you can call the Action "Follow Character" and assign the created empty game object as the target to follow. The Player will constantly try to follow the empty game object, but because it's attached to the player, it will always keep it at a 10 units.


It's like tying a stick with a carrot on a rabbit and the animal moves forward in order to catch it; unaware that the carrot moves at the same pace.


Hope this helps!