quaternion efix
This commit is contained in:
@@ -28,7 +28,7 @@ public class ModelList
|
||||
Resources.Load<Mesh>("Model/Bicycle/Models/Low-Poly Bicycle"),
|
||||
Resources.Load<Material>($"Material/Default"),
|
||||
Vector3.zero,
|
||||
Quaternion.Euler(0, 0, 0),
|
||||
Quaternion.Euler(0, 90f, 0),
|
||||
Vector3.one,
|
||||
new List<Port>
|
||||
{
|
||||
@@ -37,12 +37,12 @@ public class ModelList
|
||||
Port.Hidden(Definitions.PORT_BIKE_SPROCKET, "idBikeSprocket", new Vector3(0.007933f, 0.444f, -0.1614f)),
|
||||
Port.Hidden(Definitions.PORT_BIKE_PEDAL_L, "idBikePedalL", new Vector3(-0.1252177f, 0.5490288f, -0.312027f)),
|
||||
Port.Hidden(Definitions.PORT_BIKE_PEDAL_R, "idBikePedalR", new Vector3(0.1410843f, 0.3393247f, -0.01154391f)),
|
||||
Port.Choosable("Handlebars", Definitions.PORT_BIKE_STEER, "idBikeHandlebars", new Vector3(0.002989591f, 1.214713f, 0.4860705f), Quaternion.Euler(-30f, 90f, 0f)),
|
||||
Port.Choosable("Handlebars", Definitions.PORT_BIKE_STEER, "idBikeHandlebars", new Vector3(0.002989591f, 1.214713f, 0.4860705f), Quaternion.Euler(-30f, 0f, 0f)),
|
||||
Port.Choosable("Back Rim", Definitions.PORT_BIKE_RIM, "idBikeRim_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f)),
|
||||
Port.Hidden(Definitions.PORT_BIKE_TIRE, "idBikeTire_Back", new Vector3(-0.01431298f, 0.4673222f, -0.7874681f)),
|
||||
Port.Choosable("Front Rim", Definitions.PORT_BIKE_RIM, "idBikeRim_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f)),
|
||||
Port.Hidden( Definitions.PORT_BIKE_TIRE_FRONT, "idBikeTire_Front", new Vector3(0.01984263f, 0.4673225f, 0.9462124f)),
|
||||
Port.Choosable("Driver", Definitions.PORT_BIKE_DRIVER, "nuke", new Vector3(0f, 1.25f, -0.65f), Quaternion.Euler(70f, 90f, 0f)),
|
||||
Port.Choosable("Driver", Definitions.PORT_BIKE_DRIVER, "nuke", new Vector3(0f, 1.25f, -0.65f), Quaternion.Euler(70f, 0f, 0f)),
|
||||
}
|
||||
),
|
||||
new BaseModel(
|
||||
@@ -51,7 +51,7 @@ public class ModelList
|
||||
Resources.Load<Mesh>("Model/ERLbach/02.01.98.0000-ERLbach_vereinfacht_ohneFenster"),
|
||||
Resources.Load<Material>($"Material/Default"),
|
||||
new Vector3(0, 0, 4f), //big car needs big space
|
||||
Quaternion.Euler(0, 0, -90f), //rotate correctly
|
||||
Quaternion.Euler(-90f, 0, 0f), //rotate correctly
|
||||
new Vector3(0.03f, 0.03f, 0.03f), //because model is too big in space
|
||||
new List<Port>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user