![]() |
KudanAR - Unity
1.6.0
|
One method of movement used in the flying sample. This method applies velocities to rigidbodies. More...
Inherits MonoBehaviour.
Public Attributes | |
float | minThresh = 150f |
Minimum distance the objects must be apart. More... | |
float | maxThresh = 250f |
Maximum distance the objects can be apart. More... | |
float | switchTime = 0.5f |
Amount of time that needs to pass before the objects change direction. More... | |
float | topSpeed = 20f |
The maximum value each component of the vector can be. More... | |
GameObject | brother |
Reference to the GameObject that the object this script is attached to must move around. More... | |
One method of movement used in the flying sample. This method applies velocities to rigidbodies.
GameObject FlyBehaviour_RigidbodyVelocity.brother |
Reference to the GameObject that the object this script is attached to must move around.
float FlyBehaviour_RigidbodyVelocity.maxThresh = 250f |
Maximum distance the objects can be apart.
float FlyBehaviour_RigidbodyVelocity.minThresh = 150f |
Minimum distance the objects must be apart.
float FlyBehaviour_RigidbodyVelocity.switchTime = 0.5f |
Amount of time that needs to pass before the objects change direction.
float FlyBehaviour_RigidbodyVelocity.topSpeed = 20f |
The maximum value each component of the vector can be.