public static void AddMoveInteractions(GameObject gameObject) { if (!(gameObject is Sim)) { LocationVectors vectors = new LocationVectors(); vectors.ForwardVector = new Vector3(gameObject.ForwardVector); vectors.Position = new Vector3(gameObject.Position); MovedObjects.Add(gameObject, vectors); gameObject.AddInteraction(StopMovingMe.Singleton); } gameObject.AddInteraction(MoveUp.Singleton); gameObject.AddInteraction(MoveUpUserDefined.Singleton); gameObject.AddInteraction(MoveDown.Singleton); gameObject.AddInteraction(MoveDownUserDefined.Singleton); gameObject.AddInteraction(TurnLeft.Singleton); gameObject.AddInteraction(TurnRight.Singleton); gameObject.AddInteraction(TurnAround.Singleton); gameObject.AddInteraction(TiltFaceUp.Singleton); gameObject.AddInteraction(TiltBack.Singleton); gameObject.AddInteraction(TiltForward.Singleton); gameObject.AddInteraction(TiltFaceDown.Singleton); gameObject.AddInteraction(TiltUserDefined.Singleton); gameObject.AddInteraction(MoveBack.Singleton); gameObject.AddInteraction(MoveBackUserDefined.Singleton); gameObject.AddInteraction(MoveForward.Singleton); gameObject.AddInteraction(MoveForwardUserDefined.Singleton); gameObject.AddInteraction(MoveRight.Singleton); gameObject.AddInteraction(MoveRightUserDefined.Singleton); gameObject.AddInteraction(MoveLeft.Singleton); gameObject.AddInteraction(MoveLeftUserDefined.Singleton); gameObject.AddInteraction(TurnAtAngle.Singleton); }