KudanAR - Unity
FlyBehaviour_RigidbodyVelocity Class Reference
Inheritance diagram for FlyBehaviour_RigidbodyVelocity:

Public Attributes

float minThresh = 150f
 
float maxThresh = 250f
 
float switchTime = 0.5f
 
float topSpeed = 20f
 
GameObject brother
 

Detailed Description

Member Data Documentation

◆ brother

GameObject FlyBehaviour_RigidbodyVelocity.brother

Reference to the GameObject that the object this script is attached to must move around.

◆ maxThresh

float FlyBehaviour_RigidbodyVelocity.maxThresh = 250f

Maximum distance the objects can be apart.

◆ minThresh

float FlyBehaviour_RigidbodyVelocity.minThresh = 150f

Minimum distance the objects must be apart.

◆ switchTime

float FlyBehaviour_RigidbodyVelocity.switchTime = 0.5f

Amount of time that needs to pass before the objects change direction.

◆ topSpeed

float FlyBehaviour_RigidbodyVelocity.topSpeed = 20f

The maximum value each component of the vector can be.


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