entity picture direction, mask etc
Posted: Fri Apr 15, 2016 1:17 pm
hi.
i would like to add a couple new drones to the game(yes i love oblivion drone). so i created very simple objects, added it to game, etc etc. (pictures are attached)
my questions are:
1. my dron movement animation is correct (it headed to right direction) but it does't turn to right direction while firing. i could not find a code that control it. is there a way to turn a drone to enemy during attack?
2. how does mask work? what part of object i have to use as mask? or should i create another object?
i would like to add a couple new drones to the game(yes i love oblivion drone). so i created very simple objects, added it to game, etc etc. (pictures are attached)
my questions are:
1. my dron movement animation is correct (it headed to right direction) but it does't turn to right direction while firing. i could not find a code that control it. is there a way to turn a drone to enemy during attack?
2. how does mask work? what part of object i have to use as mask? or should i create another object?