I want to grab a posistion thats just a hair in front where an actor is looking (an easily variable distance) I'm using this code from chainlighting cog so I'm not sure if its exactly what I want.
Pos should now be a posistion about 0.07JKUs in front of us right?
Code:
dir = VectorNorm(VectorSub(GetThingPos(target), GetThingPos(ai))); pos = VectorAdd(GetThingPos(ai), VectorScale(dir, 0.07));
Pos should now be a posistion about 0.07JKUs in front of us right?
-El Scorcho
"Its dodgeball time!" -Stormy Waters
"Its dodgeball time!" -Stormy Waters