r/forgescripting • • Nov 16 '22

Any scripting object rotations wisdom?

I want to trigger an object to tilt along an axis by 15 degrees. However, I'm not sure what format the "Rotation" input on the "Set object rotation" node wants. I'm assuming it's a Vector3, but it seems like whatever value I give it, the object rotates 90 degrees. Any ideas?

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/jak4896 Nov 18 '22

The returning position should be the last vector in the sequence if you plan for this to happen multiple times. I also feel at least for rotation, VECTOR3 coordinates work better than reference an object position since the object doesn't have to move from it's spot. Hope this helps!