Added support for HkpExtendedMeshShape.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef Components_MeshShape_h__
|
||||
#define Components_MeshShape_h__
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct MeshShape : Component
|
||||
{
|
||||
std::string ResourceName;
|
||||
};
|
||||
|
||||
}
|
||||
#endif // !Components_MeshShape_h__
|
||||
@@ -10,7 +10,7 @@ namespace Components
|
||||
struct Vehicle : Component
|
||||
{
|
||||
Vehicle()
|
||||
: MaxTorque(500.0f), MinRPM(1000.0f), OptimalRPM(5500.0f), MaxRPM(7500.0f), MaxSteeringAngle(35), TopSpeed(50.0f) { }
|
||||
: MaxTorque(500.0f), MinRPM(800.0f), OptimalRPM(4000.0f), MaxRPM(6000.0f), MaxSteeringAngle(35), TopSpeed(50.0f) { }
|
||||
|
||||
float MaxTorque;
|
||||
float MinRPM;
|
||||
|
||||
Reference in New Issue
Block a user