Rotate an object using the mesh points
Author: skymen
Made using c3ide2-framework
To build the addon, run the following commands:
npm i
node ./build.js
To run the dev server, run
npm i
node ./dev.js
The build uses the pluginConfig file to generate everything else. The main files you may want to look at would be instance.js and scriptInterface.js
Property Name | Description | Type |
---|---|---|
Rotate X | Rotate X | float |
Rotate Y | Rotate Y | float |
Rotate Z | Rotate Z | float |
Use New Size | Use New Size | check |
Width | Width | float |
Height | Height | float |
Action | Description | Params |
---|---|---|
Set Euler Rotation | Set the rotation of the object from euler angles | Rotation X (number) Rotation Y (number) Rotation Z (number) |
Set Rotation From Vectors | Set the rotation of the object from up and forward vectors | Up X (number) Up Y (number) Up Z (number) Forward X (number) Forward Y (number) Forward Z (number) |
Set Use New Size | Set the use new size of the object | Use New Size (boolean) |
Set Size | Set the size of the object | Width (number) Height (number) |
Condition | Description | Params |
---|
Expression | Description | Return Type | Params |
---|---|---|---|
Width | Get the width of the object | number | |
Height | Get the height of the object | number |