Smooth PHASED rotation technique

ExExTerrestr1alNov 30 201832.3K15
    Halo and Forge Discussion

Here is something I worked with @Yumudas Beegbut to find a few months back, but I've unfortunately been busy and lazy... my apologies.

Copy paste version cuz like I said... lazy and it's not like that many people will read it ;)

HINT: To save scripts and for your programming efficiency, use the provided Object labels (ex. User Alpha - Zulu) to distinguish your object, and then using a separate object (script brain, joint ball, etc.) scripting it to rotate as the OBJECT in that script. If several pieces in a group, they must be welded and the axis piece the parent and the one possessing the User label OBJECT. Sometimes it is useful to add the Selection Mod - "Group: Siblings " or label them all with the same User label.

SMOOTH PHASED (Dual-action, offset) One script

An example of what is usually the slowest 99-100% smooth. Any faster is perfectly smooth, unless the game just hiccups for a second, which cannot be controlled. Too fast, and you will see things start to go a little nuts as the game cannot keep track of what is going on. SAME can happen if you do too many pieces rotating, period. (of any technique, but this is the most forgiving)

Script 1
On TImer Initial = Should have something here, this type of rotation seems to be better if started slightly after the map has fully loaded and stuff.
Repeat .20 (sometimes .40), but must be x2 compared to following actions
Action 1
Rotate y=4.5
Time=.10

Action2
Rotation y=4.75
Time=.10
Interrupt On

This small offfset between the two actions makes the game constantly need to reevaluate how the thing is moving and send information back to the client so you see it again. Otherwise, motion is always smooth on the server side. That's the problem. You must have two values for yoru rotation that are as close to each other as possible, so that this difference is not noticeable, so you can see how going too slow, where we only have .25 increments can be a problem. Therefore, this is best for medium to fast speed stuff, and not too large of scale.

(a few axes at once, still just 1 script)

https://xboxdvr.com/gamer/exterrestr1al/video/61181813