mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-29 08:17:59 +03:00
Enhacement Random time init. for floatings
This commit is contained in:
parent
273bc20d13
commit
26ec09190f
1 changed files with 3 additions and 1 deletions
|
@ -11,11 +11,13 @@
|
|||
#include "Objects/Generic/Object/Pushables/PushableObject_BridgeCol.h"
|
||||
#include "Objects/Generic/Object/Pushables/PushableObject_Scans.h"
|
||||
#include "Objects/Generic/Object/Pushables/PushableObject_Stack.h"
|
||||
#include "Math/Random.h"
|
||||
#include "Specific/Input/Input.h"
|
||||
#include "Specific/level.h"
|
||||
|
||||
using namespace TEN::Effects::Ripple;
|
||||
using namespace TEN::Input;
|
||||
using namespace TEN::Math::Random;
|
||||
|
||||
namespace TEN::Entities::Generic
|
||||
{
|
||||
|
@ -516,7 +518,7 @@ namespace TEN::Entities::Generic
|
|||
|
||||
ActivateClimbablePushableCollider(itemNumber);
|
||||
|
||||
pushableItem.Animation.Velocity.y = 0.0f;
|
||||
pushableItem.Animation.Velocity.y = GenerateFloat(0.0f, 125.0f);
|
||||
}
|
||||
|
||||
void HandleUnderwaterState(int itemNumber)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue