cumulative update
This commit is contained in:
@@ -7,23 +7,14 @@ namespace VeloX;
|
||||
[Title( "VeloX - Car" )]
|
||||
public partial class VeloXCar : VeloXBase
|
||||
{
|
||||
|
||||
protected override void FixedUpdate()
|
||||
{
|
||||
|
||||
UpdateInput();
|
||||
PhysicsSimulate();
|
||||
UpdateABS();
|
||||
UpdateESC();
|
||||
}
|
||||
|
||||
protected override void OnFixedUpdate()
|
||||
{
|
||||
if ( IsProxy )
|
||||
return;
|
||||
|
||||
base.OnFixedUpdate();
|
||||
|
||||
if ( IsProxy )
|
||||
return;
|
||||
UpdateABS();
|
||||
UpdateESC();
|
||||
var dt = Time.Delta;
|
||||
//EngineThink( dt );
|
||||
SimulateAerodinamics( dt );
|
||||
|
||||
Reference in New Issue
Block a user