skymen / mesh_rotate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Mesh Rotate

Rotate an object using the mesh points

Author: skymen
Made using c3ide2-framework

Table of Contents


Usage

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

Examples Files


Properties

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

Actions

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)

Conditions

Condition Description Params

Expressions

Expression Description Return Type Params
Width Get the width of the object number
Height Get the height of the object number

About


Languages

Language:JavaScript 100.0%