GithubHelp home page GithubHelp logo

ahmetozlu / unity_camera_movements Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 10 KB

"Main Camera" movements scripts for Unity (for Desktop and Gear VR platforms).

License: MIT License

C# 100.00%
unity unity3d camera-movement oculus samsung-gear-vr gear-vr google-cardboard virtual-reality vr unity-game movecamera movements-scripts samsung-gear-vr-camera-movement

unity_camera_movements's Introduction

Unity Main Camera Movements

This repository focus on main camera movements scripts for Unity . It includes two useful scripts for main camera movements.

  • MoveCamera.cs: The main camera can be controlled via "arrow keys", or "A", "D", "W", "S". Moreover, camera rotation can be changed with "mouse clicks" and also main camera can be moved up or down via keyboard for example "shift" key can be used for move camera up and "ctrl" key can be used for move camera down.

    • Usage: Drag "MoveCamera.cs" and assign it to "Main Camera" game object.

How can I use "MoveCamera.cs" in Unity?

  • MoveCameraForGearVR.cs: This script is very usefull for "Main Camera" movements of Unity for Gear VR platforms(Oculus, Samsung Gear VR and HTC Vive). The main camera can be controlled by "Gear inputs" by "MoveCameraForGearVR.cs" script.

    • Usage: Drag "MoveCameraForGearVR.cs" and assign it to "Main Camera" game object.

Citation

@ONLINE{vdtc,
    author = "Ahmet Özlü",
    title  = "Unity Camera Movements",
    year   = "2017",
    url    = "https://github.com/ahmetozlu/unity_camera_movements"
}

Author

Ahmet Özlü

License

This repository is available under the MIT license. See the LICENSE file for more info.

unity_camera_movements's People

Contributors

ahmetozlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.