Shooting where mouse is clicked help (All answers are greatly appreciated.)
TheGameFox
Member Posts: 6
Alright so here is what's going on. I created an actor and constrained it to my player. I did this so that I could make the constrained actor rotate with my mouse so I can shoot where my mouse is pointing. It worked fine until I left the origional camera view. When It left the origional camera view, it started spinning randomly and not rotating with my mouse. I then created a camera offset. Now the constrained actor can leave the origional camera view and rotate correctly, but, once I move a couple paces from the origional camera view, the constrained actor starts to move off of my player as I walk, even though it is constrained. If it helps, this is an up down game, not platform.
My main goal here is to be able to shoot wherever my mouse is pointing when I click. I didm't know of any other way of achieving this so I tried this. If you have a better way of doing this, please tell me.
Thanks in advance to anyone who answers.
My main goal here is to be able to shoot wherever my mouse is pointing when I click. I didm't know of any other way of achieving this so I tried this. If you have a better way of doing this, please tell me.
Thanks in advance to anyone who answers.
Comments