October 2016
Intermediate to advanced
452 pages
9h 47m
English
Rotation in UE4 has such complete implementation that it can be hard to choose how to rotate your objects. There are three main methods—FRotator, FQuat, and FRotationMatrix. This recipe outlines the construction and use of the first of the three different methods for the rotation of objects—the FRotator. Using this, and the following two recipes, you can select at a glance a method to use to rotate your objects.
Have a UE4 project that has an object you can get a C++ interface with. For example, you can construct a C++ class Coin that derives from Actor to test out rotations with. Override the Coin::Tick() method to apply your rotations from the C++ code. Alternatively, you can call these rotation ...
Read now
Unlock full access