Torque Compensation for Strafe Input
Adjusted thruster firing to compensate for torque introduced by uniform application of strafe input to lateral thrusters.
This commit is contained in:
parent
56f97d82f9
commit
fae3b85213
4 changed files with 165 additions and 34 deletions
|
|
@ -57,10 +57,18 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 56c973b8f3781c848b6530c2e7efce05, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
HitEffect: {fileID: 332779026898239585}
|
||||
ChildProjectile: {fileID: 0}
|
||||
AirburstProjectile: {fileID: 0}
|
||||
AirburstCount: 0
|
||||
AirburstDirectionality: 0
|
||||
AirburstDistance: 0
|
||||
AirburstRange: 0
|
||||
AirburstVelocity: 0
|
||||
Children: 0
|
||||
SplitTime: 0
|
||||
SplitSeparationForwardness: 0
|
||||
SplitSeparationVelocity: 0
|
||||
Particles: {fileID: 2200213684891960502}
|
||||
FadeOutTime: 1
|
||||
ThrustCurve:
|
||||
|
|
@ -175,7 +183,6 @@ MonoBehaviour:
|
|||
Thrust: 500
|
||||
TopSpeed: 250
|
||||
Source: {fileID: 0}
|
||||
Target: {fileID: 0}
|
||||
--- !u!1 &2200213684891960497
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -5058,6 +5065,7 @@ Transform:
|
|||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 2200213683735813172}
|
||||
- {fileID: 7703202934816564928}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
@ -5074,3 +5082,78 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
ProjectilePrototype: {fileID: 2698694499776308069}
|
||||
--- !u!1001 &7703470150373816180
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 5148235482537864796}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1828176872806910, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: SmallExplosion
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_RootOrder
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -0.50997305
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 2.57
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: -20.12803
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0.7071068
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0.7071068
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: -90
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 64891a0eb28db934898420d80ca07cb3, type: 3}
|
||||
--- !u!4 &7703202934816564928 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 4361801158873524, guid: 64891a0eb28db934898420d80ca07cb3,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 7703470150373816180}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &332779026898239585 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 7959687425165588245, guid: 64891a0eb28db934898420d80ca07cb3,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 7703470150373816180}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1281fe44325f9b548aa42dc331b17266, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
|
|
|
|||
Loading…
Reference in a new issue