Class DiverGuidanceController
Controller that positions the object with respect to the diver
Implements a P regulator for position and orientation of the object with
respect to the diver. Object reference is set on the straight line that connects the diver
and target object at the given distance.
Inheritance
System.Object
DiverGuidanceController
Assembly: cs.temp.dll.dll
Syntax
public class DiverGuidanceController : MonoBehaviour
Fields
AngSpeed
Declaration
Field Value
Type |
Description |
System.Single |
|
Distance
Declaration
Field Value
Type |
Description |
System.Single |
|
Diver
Declaration
Field Value
Type |
Description |
GameObject |
|
LinSpeed
Declaration
Field Value
Type |
Description |
System.Single |
|
QuestControl
Declaration
public QuestControl QuestControl
Field Value
Type |
Description |
QuestControl |
|
Target
Declaration
Field Value
Type |
Description |
GameObject |
|
Methods
Declaration
public void SetTarget(Transform target)
Parameters
Type |
Name |
Description |
Transform |
target |
|