Animation
Last updated
Last updated
The Door or Window animations work by Linear Interpolating the Hinge Rotation Angle from "Min Hinge Angle" to the "Max Hinge Angle" using a Timeline.
To change the Animation Play Rate (higher value is faster animation), select the desired Door or Window, go to: Details -> Visual -> Animation Play Rate
To change the Hinge Angles, select the desired Door or Window, go to: Details -> Visual -> Min Hinge Angle / Max Hinge Angle
To open the Door or Window OUTWARDS, the "Max Hinge Angle" should be smaller than the "Min Hinge Angle".
To open the Door or Window INWARDS, the "Max Hinge Angle" should be bigger than the "Min Hinge Angle".
The development preview is used for game developers to simulate the hinge movement during animation.
WARNING: The development preview is ACTIVE only in editor!
By DEFAULT, when Begin Play event is triggered, the Door or Window RESETS to the original state by using the Manual Reset function.
To enable / disable the developer preview go to: Details -> Visual -> Preview -> Preview Hinge Angle?
The developer Preview Alpha variable takes values from 0 to 1 and is used to go preview the animation from the "Min Hinge Angle" to the "Max Hinge Angle".