Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kryptopath's avatar
kryptopath
Honored Guest
12 years ago

keep camreas steady

hi,

i couldn't find anything on the forum to this question, but maybe, i just didn't look with the right words.. anyway

i build a game, where you drive downhill on a bike. nothign big so far.. the one thing that i cannot solve is to let the cameras follow the bike without taking every hit from the ground. a smoother follow. at the moment it is an instant-puke ;)
i attached the OVRCameraController to the bike with a gameobject to look at. works ok, but it moves way too much. is there a better way?

4 Replies

Replies have been turned off for this discussion
  • thx!
    i tried it, but it still is very "wobbly". ramped up the numbers, with little effect... :( smoothed out the track a lot, to keep the bumps low, but it is far from usable..
  • I'm looking for something like this too. I haven't had time to dig into the smooth camera scripts to see what I can take from it though, and I'm also very much an amateur. I want a camera that is completely attached to my vehicle and is bound to position and rotation but smooth so it doesn't feel every bump.
  • You will probably have to code this yourself.

    The easiest thing would be to just disregard any small deltas. Then for larger deltas you can smooth out the values from several frames. However, you don't want to smooth too much as this adds latency and could be strange in VR.