I want to make my gunpoint at the curser so I can shoot projectiles with the mouse
There is a behavior called Point At, it should be under the Components category if I remember correctly.
You can then use the MouseMove behavior as the X and Y input for it. (Found in the Triggers category).
There should also be some examples here on the forums for it
2 Likes
Did that it kinda works but the problem now is it thinks the mouse is up when its at the middle any fix?
In the “MouseMove” behavior the checkbox, “game coordinates.”
alright thanks now how do i make it shoot at that angle
Ill make a game to show u.
1 Like
when i shoot the bullet doesn’t face the correct way when I shoot other then forward any fix?
In ‘emit’ press the ‘rotate object’ checkbox.