Posts: 67
Threads: 29
Joined: Apr 2013
Reputation:
0
Hello guys. I use SetPlayerCameraPos to set my player's camera position and SetPlayerCameraLookAt to set my player's camera looking at a point; now, while I use this two function I want to move the camera by mouse, not to be fixed. Is that possible in a way? Something like InterpolateCameraPos...
Thanks!
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
When you downloaded the server you got a file called "flymode.pwn" in the filterscripts folder. You can take a look how it's done there.
I can't remember how it works, not sure if it's controlled by the mouse or not.
Posts: 67
Threads: 29
Joined: Apr 2013
Reputation:
0
Thanks, I checked that. But when I use the flymode, my character is gone in TogglePlayerSpectating, and I don't want that. All I want is to see my player and from a fixed point to can to move the camera from my mouse.