Click or drag to resize

ASL_AutonomousObject Class

ASL_AutonomousObject: ASL_AutonomousObject contains methods for transforming autonomous objects, objects not directly controlled by a user. Each object is given an owner, and will only listen to instructions from its owner. While the object is waiting for a tranformation to be completed, any calls to change the transformation will be ignored. If the owner of an object leaves a session, their objects will no longer respond to calls (this is temperary). This makes use of the float function provided by ASL to set the owner of the object, if the float function is overriden it will not work as intended.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          ASLASL_AutonomousObject

Namespace:  ASL
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class ASL_AutonomousObject : MonoBehaviour

The ASL_AutonomousObject type exposes the following members.

Constructors
  NameDescription
Public methodASL_AutonomousObject
Initializes a new instance of the ASL_AutonomousObject class
Top
Properties
  NameDescription
Public propertyOwner
Sets the owner and syncs it across all users.
Top
Methods
  NameDescription
Public methodAutonomousIncrementWorldPosition
Increments the objects position via World Space.
Public methodAutonomousIncrementWorldRotation
Increments the objects rotation via World Rotation.
Public methodAutonomousIncrementWorldScale
Increments the objects scale via World Scale.
Public methodAutonomousSetWorldPosition
Sets position of the object via World Position.
Public methodAutonomousSetWorldRotation
Sets the rotation of the object via World Rotation.
Public methodAutonomousSetWorldScale
Sets the scale of the object via World Scale.
Private methoddestroyAutonomousObject
Public methodDestroyAutonousOject
Private methodfloatFunction
Private methodrotateComplete
Private methodscaleComplete
Public methodSetAutonomousObjectIndex
Sets the autonomousObjectIndex equal to index.
Private methodStart
Private methodtranslateComplete
Top
Fields
See Also

Reference