Forum Discussion

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

Application SpaceWarp - Moving Camera via script/physics causes extreme distortion

Hey all. I'm playing around with App SW and it seems pretty nice, the only thing is that whenever I move my character with the joystick, there's a ton of distortion. Also if I get moved by being hit with a physics object, there's a lot of distortion as well.

 

I'm currently using the OVRCameraRig, and a simple script to move the player with the joystick using Rigidbody.MovePosition.

 

Is this a limitation of App SW, or am I just doing something wrong? If I move by moving the headset, everything is fine, just moving the camera by other means seems to cause distortion. I assume maybe there's an issue that generated motion vectors don't take this into account? I'm not very good at shader manipulation, currently just using the fork and default shaders mentioned in the docs.

1 Reply

Replies have been turned off for this discussion
  • auhfel's avatar
    auhfel
    Honored Guest

    It seems like anything too close to the camera causes massive distortion. Apparently my character was too short, because having too much of the ground close to the camera caused a lot of distortion. I made my character taller (so the camera was further away from the floor) and this helped cut distortion drastically.