Remove object from parent with logic
Hi!
I have an issue with the shooting. The shooting itself works very well, but the spawning position of the arrow I'm shooting is not correct when I move fast left or right while I'm shooting. When I'm not moving, it's correct. I tried to put the arrow as a child of the object it emitted from, but then the arrow follows the movement of the player.
Is there a way to fix this?
In Unity, I can set parent an unparent objects with code. There should be possible in Dreams too, with logic, because that would fix the problem.
-
Hi!
Thanks for the answer.
I haven't tried it yet, but I think you are right that the emitter have a wire input.
Should I attach the tag as a child on the object I have the emitter on? Is that what you mean? -
Hi Rabagast. I was totally wrong with my last suggestion, sorry. If you'd like to share your creation I'm happy to have a look to help?
-
Thank you!
I will try it out later. For now, it works not that bad. ?
Please sign in to leave a comment.