Description
This is a JavaScript library and is not included by default. To use the method(s) below, you must first include the library.
Example
Include this library in your script.
Script.include("/~/system/libraries/controllers.js");
Methods
| Name | Return Value | Summary |
|---|---|---|
getControllerWorldLocation
|
Controllers.controllerWorldLocation |
controllerWorldLocation is where the controller would be, in-world, with an added offset |
Type Definitions
|
controllerWorldLocation Type: Object |
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Properties
|
Method Details
|
(static) getControllerWorldLocation( handController, doOffset ) → {Controllers.controllerWorldLocation}
Returns: Controllers.controllerWorldLocation |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
controllerWorldLocation is where the controller would be, in-world, with an added offset Parameters
ExampleGet the controllerWorldPosition and print it to log.
|
