You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
fixed issues with Tappy Chicken merge
#ue4
#tappy chicken
[CL 2082276 by Peter Sauerbrei in Main branch]
This commit is contained in:
committed by
UnrealBot
parent
446972d460
commit
5dc58359e0
@@ -296,10 +296,12 @@ void FPhysSubstepTask::SubstepSimulationStart()
|
||||
float DeltaTime = bLastSubstep ? (DeltaSeconds - TotalSubTime) : SubTime;
|
||||
float Interpolation = bLastSubstep ? 1.f : Alpha;
|
||||
|
||||
#if WITH_VEHICLE
|
||||
if (VehicleManager)
|
||||
{
|
||||
VehicleManager->Update(DeltaTime);
|
||||
}
|
||||
#endif
|
||||
|
||||
SubstepInterpolation(Interpolation);
|
||||
|
||||
|
||||
@@ -22,6 +22,13 @@
|
||||
#define WITH_APEX (1 && WITH_PHYSX)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Whether or not compiling with Vehicle extensions to PhysX
|
||||
*/
|
||||
#ifndef WITH_VEHICLE
|
||||
#define WITH_VEHICLE (1 && WITH_PHYSX)
|
||||
#endif
|
||||
|
||||
#ifndef WITH_PHYSICS_COOKING
|
||||
#define WITH_PHYSICS_COOKING (WITH_EDITOR || WITH_APEX) //APEX currently relies on cooking even at runtime
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user