Forum Discussion
kryptopath
12 years agoHonored Guest
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?
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
- ProtonHonored GuestYou could try SmoothFollow2
- kryptopathHonored Guestthx!
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.. - cartoonbombHonored GuestI'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.
- cyberealityGrand ChampionYou 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 years ago
- 9 months ago
- 9 months ago