playMaker

Author Topic: Camera Set position help!!!  (Read 4482 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Camera Set position help!!!
« on: April 02, 2014, 01:34:14 PM »
I have my camera Following the player with a set position and I have checked late update but it still jitters. (Camera is set up like the jump game)

https://dl.dropboxusercontent.com/u/43466779/adScript.html
(click left and right of character to move)

Edit:
It was because of the darn Lerp... But doesn't lerp keep it smooth? Still need help with this to keep the camera smooth...
« Last Edit: April 02, 2014, 02:48:42 PM by sebaslive »
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Camera Set position help!!!
« Reply #1 on: April 03, 2014, 08:33:08 AM »
Hi,

 It's likely that another action is not using late update like set position, and then the chain is broken.

bye,

 Jean

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #2 on: April 03, 2014, 01:39:24 PM »
Hey Jean, I am using the same set up as the M2H jump game. Only the set position has late update. I believe it is the lerp causing the problem because when I take it off it doesn't jitter but the camera won't have that smooth transition. I went into the code (lerp) and gave it a late update but it still jitters.

Any ideas?
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #3 on: April 04, 2014, 02:49:12 PM »
bumpy!
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Camera Set position help!!!
« Reply #4 on: April 07, 2014, 06:16:16 AM »
Hi,

 is the M2h example alsi jitters for you?

bye,

 Jean

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #5 on: April 07, 2014, 09:33:50 AM »
yes...
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Camera Set position help!!!
« Reply #6 on: April 08, 2014, 07:38:46 AM »
Hi,

 yeah, you can improve indeed. I am not too sure what to do. on that jump game itself, I would turn to lateupdate the LERP of the camera, but that still doesn't give an absolute fluid feel.

decresing the speed of the lrp helps too, have you tried that?


 Bye,

 Jean

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #7 on: April 08, 2014, 11:32:40 AM »
Yes, I really went in depth on unity to understand lerps to get their full potential

This video in case anyone else is reading... (http://unity3d.com/learn/tutorials/modules/beginner/scripting/lerp)

it sill jitters and the speed is set to 0.1. Is there a way to set a late update to everything in a state?
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #8 on: April 08, 2014, 03:46:43 PM »
nothing seems to change when I have late update selected... I have both every frame and late update and it moves in the exact same way. Everyone says late update is the answer but it doesn't change anything.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Camera Set position help!!!
« Reply #9 on: April 08, 2014, 05:19:36 PM »
I am so happy I want to cry, you have the set the damned forsaken rigidbody to EXTRAPOLATE.

http://answers.unity3d.com/questions/37050/jittering-when-moving.html

All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Camera Set position help!!![SOLVED]
« Reply #10 on: April 14, 2014, 08:12:36 AM »
ouch...

 I am glad you sorted it out!

bye,

 Jean