Skip to content

My attempt at writing my own drone controller from scratch using C# and Unity as a challenge for myself.

License

Notifications You must be signed in to change notification settings

m4xed0ut/DroneController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroneController

My attempt at writing my own drone controller from scratch using C# and Unity as a challenge for myself.

Controls

Left Stick:

  • Y axis: Throttle Up
  • X axis: Yaw

Right Stick:

  • Y axis: Pitch
  • X axis: Roll

Instructions

  • Add your drone model to the scene and attach a rigidbody component, then change its mass to 1, set it to Interpolate and set Collision Detection to Continuous,

  • Add an empty child object to your model and name it TargetUp

  • Attach the DroneController script to the parent object and assign the parent object to the script along with the TargetUp object,

  • That's it!

About

My attempt at writing my own drone controller from scratch using C# and Unity as a challenge for myself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages