Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Search the Community

Showing results for tags 'drone'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GENERAL
    • Introduce yourself
    • Discussions
    • Showcase
    • Need help?
    • Seeking team members?
    • Offtopic
  • RESOURCES
    • Example Projects
    • Scripts
    • Shaders
    • Unity Tutorials
    • FPS Kit Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • SELL | REQUEST
    • Sell
    • Request
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Mars' Modular Multiplayer Photon FPS Kit's Updates
  • Mars' Modular Multiplayer Photon FPS Kit's Tutorials
  • Busy People's Introductions
  • Photon's Tutorials
  • Photon's Photon General
  • Photon's Showcase

Categories

  • Free Projects
  • Free Assets
  • Game Demos
  • Photon's Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


YouTube URL


Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 3 results

  1. Hey guys, I've recently created a drone kit for Unity which involves both air and land vehicles, there is a link below to download a demo and I would appreciate it if you guys could give me some feedback. https://mega.nz/#!vZMUBLiA!prbxk50AbVMohjd540vUJVrpL87brFekPjtACSEgyg8 Thanks guys! Oh and the models are just placeholders.
  2. Hey guys i made a free drone(land drone/rc car) kit for unity3D, feel free to check it out: https://www.youtube.com/watch?v=4C-Fnf6UlPY&feature=youtu.be Very basic.
  3. Hello, I came to bring a Drone script for you hope you like it Credits: Higor-Klein Matheus-Henrique im sorry this correct name is Drone script for Photon Cloud using UnityEngine; using System.Collections; [RequireComponent(typeof(PhotonView))] public class Drone : Photon.MonoBehaviour { public float speed; private float Time; public GameObject[] Helice; public Camera camera; private bool FirstUpdate = false; private Vector3 correctPlayerPos = Vector3.zero; private Quaternion correctPlayerRot = Quaternion.identity; void Start() { if(!photonView.isMine)Destroy(camera); } void Update() { foreach(GameObject Helicee in Helice) { Helicee.transform.Rotate(0,Time.deltaTime*900,0); } if (!photonView.isMine) { if (!FirstUpdate) { FirstUpdate = true; transform.position = correctPlayerPos; transform.rotation = correctPlayerRot; } else { transform.position = Vector3.Lerp(this.transform.position, correctPlayerPos, Time.deltaTime * 5); transform.rotation = Quaternion.Lerp(transform.rotation, correctPlayerRot, Time.deltaTime * 5); } }else{ Time += Time.deltaTime; if(Time >2) { rigidbody.isKinematic = true; if(Time >2.2) { rigidbody.isKinematic = false; Time = 0; } } if(transform.rotation.z != 0 || transform.rotation.z != 0) { transform.Rotate(0,0,-Time.deltaTime*10); } transform.Rotate(Input.GetAxis("Mouse Y")*10,0,-Input.GetAxis("Mouse X")*10); if(Input.GetKey(KeyCode.W)) { if(Input.GetKey(KeyCode.LeftShift)) { transform.Translate(0,0,Time.deltaTime*speed); }else{ transform.Translate(0,0,Time.deltaTime); } } if(Input.GetKey(KeyCode.S)) { transform.Translate(0,0,0-Time.deltaTime); } if(Input.GetKey(KeyCode.A)) { transform.Translate(0-Time.deltaTime,0,0); } if(Input.GetKey(KeyCode.D)) { transform.Translate(0+Time.deltaTime,0,0); } } } public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) { if (stream.isWriting) { stream.SendNext(transform.position); stream.SendNext(transform.rotation); } else { correctPlayerPos = (Vector3)stream.ReceiveNext(); correctPlayerRot = (Quaternion)stream.ReceiveNext(); } } }
×
×
  • Create New...