I'm having some trouble with a prototype I'm working on.
Which you can grab here: https://drive.google.com/file/d/0B_Xd56ZdrBpYQ1dIb2l4cnpKajA/view?usp=sharing
There idea is that when you click the left mouse button, the flytrap shoots his tongue (or more importantly the tongueTip object, a bullet). The tongue's width is supposed to always remain the distance between the bullet and it's origin, the flytrap (turret).
The problem is that the tongueTip object's x and y positions appear to not be updating. I made a global variable and linked the tongue's width to that , but no luck.
The debug shows that neither the global variable, or the x and y positions of the tongueTip are updating, despite the fact that it's moving across the screen.
Would love any help I can get.
Thanks in advance