![]() |
KudanAR - Unity
1.6.0
|
Method of movement used in the flying sample. This method changes an object's transform to move it towards a target point in 3D space. More...
Inherits MonoBehaviour.
Public Attributes | |
float | minThresh = 100f |
The minimum distance the this object must be from its brother. More... | |
float | maxThresh = 500f |
The maximum distance this object can be from its brother. More... | |
float | moveThresh = 10f |
If the distance between this object and its target point is less than this threshold, it is considered to have reached its target. More... | |
float | moveStep = 1.5f |
The amount that this object moves each frame. More... | |
float | maxMove = 20f |
The maximum distance each component of the target point can be away from this object. More... | |
GameObject | brother |
Reference to the GameObject that this object must move around. More... | |
Method of movement used in the flying sample. This method changes an object's transform to move it towards a target point in 3D space.
GameObject FlyBehaviour_TargetTransform.brother |
Reference to the GameObject that this object must move around.
float FlyBehaviour_TargetTransform.maxMove = 20f |
The maximum distance each component of the target point can be away from this object.
float FlyBehaviour_TargetTransform.maxThresh = 500f |
The maximum distance this object can be from its brother.
float FlyBehaviour_TargetTransform.minThresh = 100f |
The minimum distance the this object must be from its brother.
float FlyBehaviour_TargetTransform.moveStep = 1.5f |
The amount that this object moves each frame.
float FlyBehaviour_TargetTransform.moveThresh = 10f |
If the distance between this object and its target point is less than this threshold, it is considered to have reached its target.