Es.createvectorfrompoints

From EventScripts Community Encyclopedia
This article is a stub. Please help by adding to it.



Method: createvectorfrompoints

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Creates a vectorstring (stored in outputvar) that points from vector/point A to vector/point B. This is the Python equivalent of: http://www.eventscripts.com/pages/es_createvectorfrompoints

Arguments

  • outputvar - the name of the variable where the actual vector will be stored.
  • vectorstring-A - the name of the variable which holds the position of point A.
  • vectorstring-B - the name of the variable which holds the position of point B.


Examples


Notes

  • This is equivilant to doing Ax-Bx, Ay-By, Az-Bz


See Also

blog comments powered by Disqus