Very last thing that left is always to adjust bounce behavior. We must set isRotating flag and present a airplane very first rotation push (otherwise Mod(PRotation,180) 0 will not be real).

Very last thing that left is always to adjust bounce behavior. We must set isRotating flag and present a airplane very first rotation push (otherwise Mod(PRotation,180) 0 will not be real).

The “&& PDirection = 0” condition that is extra to secure our air air plane from entering If block twice – if the rotation start and merely after it comes to an end (if the air air plane should carry on dancing).

Your entire rule should looks like such as this:

Completed air air plane animation with u-turns

WOW! That has been hell fast flirting usa for the road but we managed to make it! (więcej…)

Czytaj dalejVery last thing that left is always to adjust bounce behavior. We must set isRotating flag and present a airplane very first rotation push (otherwise Mod(PRotation,180) 0 will not be real).