Page 1 of 1

entity picture direction, mask etc

Posted: Fri Apr 15, 2016 1:17 pm
by catarix7
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?
drone.jpg
drone.jpg (27.05 KiB) Viewed 501 times
dronebig.jpg
dronebig.jpg (111.68 KiB) Viewed 501 times