Merge branch 'havok' into gui
Conflicts: vs11/Returngeance/Returngeance.vcxproj.filters
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef Components_Health_h__
|
||||
#define Components_Health_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Health : Component
|
||||
{
|
||||
Health()
|
||||
: health(1.0f){ }
|
||||
|
||||
float health;
|
||||
|
||||
virtual Health* Clone() const override { return new Health(*this); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // Components_Health_h__
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef HelicopterSteering_h__
|
||||
#define HelicopterSteering_h__
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct HelicopterSteering : Component
|
||||
{
|
||||
HelicopterSteering* Clone() const override { return new HelicopterSteering(*this); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // HelicopterSteering_h__
|
||||
@@ -14,7 +14,7 @@ struct Wheel : Component
|
||||
|
||||
Wheel()
|
||||
: AxleID(0), Radius(0), Width(0), Mass(0), Steering(false), DownDirection(glm::vec3(0, -1, 0)), Friction(1.5f), SlipAngle(0.0f),
|
||||
MaxBreakingTorque(1500.0f), ConnectedToHandbrake(false), SuspensionStrength(50.0f), TorqueRatio(0.25f) { }
|
||||
MaxBreakingTorque(50000.f), ConnectedToHandbrake(false), SuspensionStrength(50.0f), TorqueRatio(0.25f) { }
|
||||
|
||||
// The Hardpoint MUST be positioned INSIDE the chassis.
|
||||
glm::vec3 Hardpoint;
|
||||
|
||||
Reference in New Issue
Block a user