|
Post by controlim2 on Jan 2, 2018 3:57:56 GMT
Hello, I'm a newbie and I'm not good at English either. Sorry about that.
My problem started when I using the character root as the source of the arrow but it can't be shoot at the different hight, I change to use lock-on with the source object (Cube) but the problem is sometimes it locks on a different target with Invector. I try not to edit Invector script because I'm afraid of consequences. But how can I tell the object outside (Arrow source) to aim at the same target as Invector do? Can invectors share a target to it? if can how can I do it?
This video show cleary problem happen.
I can't go through this because I'm a newbie, really sorry about that. Please help. Only thing I lose is how to make an arrow source (Cube) look at the same target with Invector.
|
|
|
Post by uberwiggett on Jan 2, 2018 6:16:39 GMT
your game looks awesome and you should be proud. As for sharing the target, I am pretty sure the answer is yes as I believe chronicman's generic addon was doing this. I can't remember how though and I don't have the code for it, but maybe have a look at shade's spell system which uses target lock for spells.
|
|
|
Post by controlim2 on Jan 2, 2018 8:48:02 GMT
Thank you very much. I found that they put this transform to "currentTarget" value but I fear to touch it because last time I did that bad thing happens. I will wait until I really have no choice. Anyway, thank you very much for your help, I really appreciate that.
|
|