Difference between revisions of "Non-Spatial Objects"
m |
(add controllers) |
||
Line 49: | Line 49: | ||
* OneShotTimer - sends a message after a delay | * OneShotTimer - sends a message after a delay | ||
* Timer - sends periodic messages | * Timer - sends periodic messages | ||
+ | |||
+ | ==Controllers== | ||
+ | The new controller objects are easier to use – just hook up “controlOut” on a controller/mover to “controlIn” on an object being controller and it will automatically “just work” once you set its running property to true. | ||
+ | If you want to go old school and use data flow type wiring to modify the output of a controller (say using offsets) appropriate “output” outputs also exist on the various controllers to wire to things like splitters, interpolators, etc. | ||
+ | * EllipseMover2 – move things on ellipses | ||
+ | * RotationContoller2 – controls rotation | ||
+ | * WaypointMover2 – moves things around on waypoints, replaces previous embedded functionality | ||
+ | * LookAtController2 – look at things – ie giant eyeballs follow something you drag. | ||
+ | * ScannerController2 – move things back and forth in a line | ||
+ | * SineController2 – move things on Sine waves (with adjustable phase – so can do Sin, Cos or anything between) | ||
+ | |||
+ | o A complete set of Values – bool, integer, float, vectors3, Euler, Material, string (resource |
Revision as of 13:35, 2 November 2021
These objects are for “programming” making objects interactive.
Vector Processing
VectorProcessing->offset A vector is a set of 3 related numbers, typically an X,Y,Z position, or rotation specification. Offset allows adding one vector to another to do something like change the position.
Logic objects
- AndGate
- InterpolationVector3f - given two vectors,and an amount float that ranges from zero to one, this outputs an altered vector that is interpolated between the two vectors based on the amount.
- ElipseMover - sets the position of an object stepwise around an ellipse
- FloatTrigger - fires a message when a float number is equal to another
- OrGate
- Trigger - fires a message
- IntegerTrigger- fires a message when an integer number is equal to another
- OrGate
- NandGate
- SimpleSequencer - an object that steps through a number of outputs
- ProximityDetector - sends a message when an object gets close to another object
- XorGate
- Multiplexers->Vector3fMutiplexer - unpacks a vector into 3 individual values
- Random->RanFloat - random number
- Random->RanVec3
Variables objects
- Value
- IntegerValue
- FloatValue
- BoolValue
- Vector3fScaler
- Vector3fValue
Resource objects
- Resource
- Spawner
States objects
- NonVisualState
- Tweener
- Teleport->Teleport
Contains a destination location, orientation and zone. When triggered, it moves the user to that destination
Timer objects
- OneShotTimer - sends a message after a delay
- Timer - sends periodic messages
Controllers
The new controller objects are easier to use – just hook up “controlOut” on a controller/mover to “controlIn” on an object being controller and it will automatically “just work” once you set its running property to true. If you want to go old school and use data flow type wiring to modify the output of a controller (say using offsets) appropriate “output” outputs also exist on the various controllers to wire to things like splitters, interpolators, etc.
- EllipseMover2 – move things on ellipses
- RotationContoller2 – controls rotation
- WaypointMover2 – moves things around on waypoints, replaces previous embedded functionality
- LookAtController2 – look at things – ie giant eyeballs follow something you drag.
- ScannerController2 – move things back and forth in a line
- SineController2 – move things on Sine waves (with adjustable phase – so can do Sin, Cos or anything between)
o A complete set of Values – bool, integer, float, vectors3, Euler, Material, string (resource