Making player view static while still moving player model
Moderator: InsideQC Admins
3 posts
• Page 1 of 1
Making player view static while still moving player model
Hi all,
I posted this as a reply to my other topic, but I thought I would make it a new thread, seeing as how it is a little different.
I have managed to make the players view switch to my static camera via the suggestions made in my other post. But now when the view changes to the camera the player controls both the camera view and the player model, i.e. Turning left turns both the player and the camera view left.
How do I go about forcing the camera to remain still while only moving the player model? Do I need to seperate the player model and the player view into seperate entities?
I tried setting the camera.movetype = MOVETYPE_NONE... but this does nothing to stop the camera from moving.
Any help on this matter would be greatly appreciated.
I posted this as a reply to my other topic, but I thought I would make it a new thread, seeing as how it is a little different.
I have managed to make the players view switch to my static camera via the suggestions made in my other post. But now when the view changes to the camera the player controls both the camera view and the player model, i.e. Turning left turns both the player and the camera view left.
How do I go about forcing the camera to remain still while only moving the player model? Do I need to seperate the player model and the player view into seperate entities?
I tried setting the camera.movetype = MOVETYPE_NONE... but this does nothing to stop the camera from moving.
Any help on this matter would be greatly appreciated.
- timbobsteve
- Posts: 15
- Joined: Mon Oct 10, 2005 12:56 pm
I think you have to spam SVC_SETANGLE every frame.
Note that there is NO good way to do this if you are planning multiplayer support.
Note that there is NO good way to do this if you are planning multiplayer support.
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
