|
In the official island demo the First person Camera has extremely jerky movement which I've never been able to figure out. I've trawled the forums for days not believing that I'm the only one to notice this or have the issue. All the demos utilising the FPS script exhibit this problem. The closest answer I've found is to put all all camera movement into FixedUpdate. Which I think I did, but no change. I edited all the scripts Mouselook, FPSWalker etc to use FixedUpdate. Is that the right thing to do? It made no difference to the poor camera movement. Could someone explain how to implement a solution to get a smooth FPS camera result in a demo. Coming from Blitz3D I'd implement a smoothing queue or damping etc. I just refuse to believe this technology is demoed with such a rubbish camera script and movement, please let me into the secret.
(comments are locked)
|
|
Must be something in your system, because there's nothing jerky about it here or on any other computer I've used. Putting a first-person camera script in FixedUpdate is not the right thing to do...that will make it only update when the physics system updates, instead of every frame. Try turning off any mouse hacks or utilities you might be using. FixedUpdate is often the culprit when the FPS controller feels jerky, deselecting it solved a fairly annoying choppiness for me.
Dec 13 '11 at 08:42 PM
flannerus
(comments are locked)
|
|
maybe its the computer thats running a bit slow?
(comments are locked)
|
|
Searching the forums I found the following script and it solved my FPS camera movement (I’ve made some adaptations to the original script to fit my needs. Sorry, I don't know who the author is). Steps to use it: Add a First Person Controller to the scene and remove the Mouse Look script all together 1) Attach Smooth Mouse Look to the Character Controller with this parameters: Sensitivity X: 4 Sensitivity Y: 0 Default Sens X: 4 Default Sens Y: 0 Minimum Y: 0 Maximum Y: 0 Frame Counter X: 20 Frame Counter Y: 20 2) Attach another Smooth Mouse Look to the Main Camera with this parameters: Sensitivity X: 0 Sensitivity Y: 5 Default Sens X: 0 Default Sens Y: 5 Minimum Y: -60 Maximum Y: 60 Frame Counter X: 20 Frame Counter Y: 20 That’s it! Reeeeaaally awesome script here, I've found that lowering the Frame Counter to about 12 makes for a much less "floaty" feel. Wish I could upvote (dunno why it wont let me) because this script will be integral to my game.
Dec 13 '11 at 08:45 PM
flannerus
The value used in FrameCounter depends on the effect you are trying to achieve. For a underwater or slow motion situation 20 to 25 will convey the right feel. And 12 is a good number for a normal FPS. I felt it also and updated my game to use "12" and it's really better this way. Thanks to test it out flannerus.
Dec 14 '11 at 06:14 AM
Leocesar
(comments are locked)
|
|
I have the exact same problem as the person wrote above. I once had Unity on an old machine and it was a bit jumpy then. I now have a Core i3 computer with Intel HD graphics and it is very jerky. I have gone through all the graphics settings but it hasn't changed anything. Try deselecting "FixedUpdate" on the Main Camera.
Dec 13 '11 at 08:43 PM
flannerus
(comments are locked)
|

1.4k views, and the question only got ONE vote so far... lol wtf?
yeah personally it says my account can't upvote it....not sure if only admins can...but that wouldn't make sense...agreed though, this is a really useful thread if you're making an FPS game...