So I have a spinning C++ object in my project and this object neither slow down nor accelerate when I change the global time dilation. How can I apply my time dilation to this object?
Notes:
-The set global time dilation is a BP.
- That object is the only one unaffected.
//UGameplayStatics::SetGlobalTimeDilation(GetWorld(), 0.4); //Global slow motion.
//this->CustomTimeDilation = 0.4; // Individual slow motion.
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AActor/GetActorTimeDilation/index.html
This should do the trick, bud.
2 Likes