I sort of asked this question in my thread Collision Attachments, and it's in the same vein.
I want to be able to 'attach' my hero to his horse, so that when the horse goes somewhere, he is dragged along with it so to speak. His movement is locked to the horse.
Now it is important that it is literally attaching the hero, not special effects, or new created units, but the existing Hero himself.
I've already heard some suggestions, and at the moment I'm thinking it's possible to get what I want by perhaps changing collision to 0, and moving Hero to position of Horse every 0.01 seconds facing orientation etc...
I wondering if there are any better ways of achieving this? To be able to fix the hero as if he were a special effect. He will be a different unit from the horse, and both will remain basically unchanged, except that the Hero now relies on horse for movement. They can both attack seperately etc, and provides two distinct targets for the enemy.
Also stuns and the like will have the effect of knocking him off the horse.
Perhasps this could be done if I simply leave his movement 'normal' and just have it match horse speed, the horse also follows the Hero's commands. So if he is stunned, he is stopped dead in his tracks, and the horse will continue on. As soon as he is a certain distance away from horse he will automatically 'unmount' and return to normal.
Any thoughts?
I want to be able to 'attach' my hero to his horse, so that when the horse goes somewhere, he is dragged along with it so to speak. His movement is locked to the horse.
Now it is important that it is literally attaching the hero, not special effects, or new created units, but the existing Hero himself.
I've already heard some suggestions, and at the moment I'm thinking it's possible to get what I want by perhaps changing collision to 0, and moving Hero to position of Horse every 0.01 seconds facing orientation etc...
I wondering if there are any better ways of achieving this? To be able to fix the hero as if he were a special effect. He will be a different unit from the horse, and both will remain basically unchanged, except that the Hero now relies on horse for movement. They can both attack seperately etc, and provides two distinct targets for the enemy.
Also stuns and the like will have the effect of knocking him off the horse.
Perhasps this could be done if I simply leave his movement 'normal' and just have it match horse speed, the horse also follows the Hero's commands. So if he is stunned, he is stopped dead in his tracks, and the horse will continue on. As soon as he is a certain distance away from horse he will automatically 'unmount' and return to normal.
Any thoughts?