Skip to content

Commit

Permalink
3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hykudoru committed Dec 14, 2020
1 parent fc4b089 commit 7dff95d
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Drones/Assets/Drones/Animations/DroneQuad.controller
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: DroneHoverFly
m_Speed: 1
m_Speed: 5
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
Expand Down
12 changes: 11 additions & 1 deletion Drones/Assets/Drones/Demo/Demo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -10036,7 +10036,7 @@ PrefabInstance:
- target: {fileID: 3541209806302926730, guid: 9feb64c7d592fb247ae0139596c5abc1,
type: 3}
propertyPath: m_Name
value: Player Drone
value: Drone
objectReference: {fileID: 0}
- target: {fileID: 3541209806302926730, guid: 9feb64c7d592fb247ae0139596c5abc1,
type: 3}
Expand All @@ -10048,6 +10048,11 @@ PrefabInstance:
propertyPath: maxMoveSpeed
value: 70
objectReference: {fileID: 0}
- target: {fileID: 3893937143131440853, guid: 9feb64c7d592fb247ae0139596c5abc1,
type: 3}
propertyPath: m_Drag
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4210028917148445952, guid: 9feb64c7d592fb247ae0139596c5abc1,
type: 3}
propertyPath: m_LocalPosition.z
Expand Down Expand Up @@ -43125,6 +43130,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 28135716}
m_Modifications:
- target: {fileID: 1141925499314817008, guid: 84d87499ddcb9f64b969debf5efaccb8,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1141925501326179905, guid: 84d87499ddcb9f64b969debf5efaccb8,
type: 3}
propertyPath: m_LocalPosition.x
Expand Down
25 changes: 25 additions & 0 deletions Drones/Assets/Drones/DroneFlightController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DroneFlightController : MonoBehaviour
{
[SerializeField] Transform[] thrusters;

// Start is called before the first frame update
void Start()
{

}

// Update is called once per frame
void FixedUpdate()
{
PhysicsUpdate();
}

public void PhysicsUpdate()
{

}
}
11 changes: 11 additions & 0 deletions Drones/Assets/Drones/DroneFlightController.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7dff95d

Please sign in to comment.