KudanAR - Unity  1.6.0
FlyBehaviour_TargetTransform Class Reference

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...
 

Detailed Description

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.

Member Data Documentation

◆ brother

GameObject FlyBehaviour_TargetTransform.brother

Reference to the GameObject that this object must move around.

◆ maxMove

float FlyBehaviour_TargetTransform.maxMove = 20f

The maximum distance each component of the target point can be away from this object.

◆ maxThresh

float FlyBehaviour_TargetTransform.maxThresh = 500f

The maximum distance this object can be from its brother.

◆ minThresh

float FlyBehaviour_TargetTransform.minThresh = 100f

The minimum distance the this object must be from its brother.

◆ moveStep

float FlyBehaviour_TargetTransform.moveStep = 1.5f

The amount that this object moves each frame.

◆ moveThresh

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.


The documentation for this class was generated from the following file: