Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Deevit on April 28, 2016, 06:37:25 AM
-
Hi,
I am having trouble getting my arrow instance to land on it's mark correct.
I think the problem is that my arrow is a prefab and needs to get it's landing position from a prefab, but when I do this the arrow wil alway's drop on the target prefab position, not the target set value I create when key is up.
What I want is the arrow to reference the scene target not the prefab target. Can anyone explain to me how I can instance the arrow and make it reference the scene target?
Basically I am having trouble working with scene objects and prefab objects
-
Are u using world position?
-
I solved the problem with global variables. It is not the most ideal but for my prototype it's fine.
Next step is to give every arrow fired a different target position so it won't reset with every next shot and the arrow changes direction every mouse click...