I’m trying to figure out how to slowdown the whole world(scene).
but I do not need same thing slowless for my object.
I make that world is now more slowdown by Scene.SetTimeScale(),
if (input->GetKeyDown(KEY_P))
{
if (!isTimeScaled)
{
GetNode()->GetScene()->SetTimeScale(0.1f);
isTimeScaled = true;
}
}
but how to make a normal speed for my one selected node(object)?
I thought to increase the SetTimeScale in the same number of times that I reduced the speed of the world.
but the object was not his own SetTimeScale()