mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
@@ -127,12 +127,12 @@ protected:
|
||||
virtual void ClampMotorForces( Vector &linear, AngularImpulse &angular )
|
||||
{
|
||||
// limit reaction forces
|
||||
linear.x = clamp( linear.x, -3000.f, 3000.f );
|
||||
linear.y = clamp( linear.y, -3000.f, 3000.f );
|
||||
linear.z = clamp( linear.z, -3000.f, 3000.f );
|
||||
linear.x = clamp( linear.x, -3000, 3000 );
|
||||
linear.y = clamp( linear.y, -3000, 3000 );
|
||||
linear.z = clamp( linear.z, -3000, 3000 );
|
||||
|
||||
// add in weightlessness
|
||||
linear.z += 800.f;
|
||||
linear.z += 800;
|
||||
}
|
||||
|
||||
// -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user