Aiming underwater
#1

Hello,
I've been searching for a way to allow player to aim with weapon underwater.
I can apply aiming animation whenever he holds KEY_AIM and set player's angle accordingly, but then he can only look around in horizontal axis (left and right) but not vertical (up and down).
Any suggestions? Thanks
Reply
#2

Did you try teleporting him actually inside the water and not outside? I remember that this caused to make aiming possible underwater. (Put the spawn point inside water, try this and tell us the results)
Reply
#3

Quote:
Originally Posted by Stanford
Посмотреть сообщение
Did you try teleporting him actually inside the water and not outside? I remember that this caused to make aiming possible underwater. (Put the spawn point inside water, try this and tell us the results)
Hello Stanford, thanks for your reply.

Teleporting player underwater makes him fall to the bottom of the ocean and walk on it like on normal ground, but that's not what I want. I want player to be able to still swim in the water.
Reply
#4

Quote:
Originally Posted by zaibaslr2
Посмотреть сообщение
Hello Stanford, thanks for your reply.

Teleporting player underwater makes him fall to the bottom of the ocean and walk on it like on normal ground, but that's not what I want. I want player to be able to still swim in the water.
Not possbile. You cannot do something like that.
Reply
#5

Quote:
Originally Posted by SoFahim
Посмотреть сообщение
Not possbile. You cannot do something like that.
Ok thanks, I guess you are right.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)