minor fixes requested by Josep

This commit is contained in:
Roberto Bertini Renzetti (Unity) 2022-09-28 10:29:19 -07:00
Родитель 2551a0b1bb
Коммит 1a57259378
2 изменённых файлов: 15 добавлений и 14 удалений

Просмотреть файл

@ -789,7 +789,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 631348920}
DrivingEntity: {fileID: 631348917}
PositionGain: 1
RotationGain: 1
LinearVelocityGain: 1
@ -1459,7 +1459,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1744228160}
DrivingEntity: {fileID: 339970407}
PositionGain: 0.9
RotationGain: 0.9
LinearVelocityGain: 0
@ -3285,7 +3285,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1140792372}
DrivingEntity: {fileID: 1140792369}
PositionGain: 0.1
RotationGain: 0.1
LinearVelocityGain: 0.01
@ -4108,7 +4108,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 982094010}
DrivingEntity: {fileID: 982094007}
PositionGain: 0.5
RotationGain: 0.5
LinearVelocityGain: 0.05
@ -4452,7 +4452,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1273179520}
DrivingEntity: {fileID: 1273179517}
PositionGain: 0.5
RotationGain: 0.5
LinearVelocityGain: 0.05
@ -5250,7 +5250,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1996694455}
DrivingEntity: {fileID: 1996694452}
PositionGain: 0.2
RotationGain: 0.2
LinearVelocityGain: 0.01
@ -5920,7 +5920,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 975069401}
DrivingEntity: {fileID: 975069398}
PositionGain: 0.25
RotationGain: 0.25
LinearVelocityGain: 0.01
@ -6285,7 +6285,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 631348920}
DrivingEntity: {fileID: 631348917}
PositionGain: 0.1
RotationGain: 0.1
LinearVelocityGain: 0
@ -6629,7 +6629,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1905938356}
DrivingEntity: {fileID: 1905938354}
PositionGain: 0.75
RotationGain: 0.75
LinearVelocityGain: 0.05
@ -7071,7 +7071,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1927466373}
DrivingEntity: {fileID: 1927466371}
PositionGain: 0.9
RotationGain: 0.9
LinearVelocityGain: 0
@ -7707,7 +7707,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 339970410}
DrivingEntity: {fileID: 339970407}
PositionGain: 0.75
RotationGain: 0.75
LinearVelocityGain: 0.05
@ -8020,7 +8020,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 665462441}
DrivingEntity: {fileID: 665462438}
PositionGain: 1
RotationGain: 1
LinearVelocityGain: 0
@ -8690,7 +8690,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 73671d6fefcc2d8429878cae31f1001f, type: 3}
m_Name:
m_EditorClassIdentifier:
DrivingEntity: {fileID: 1255482224}
DrivingEntity: {fileID: 1255482222}
PositionGain: 0.25
RotationGain: 0.25
LinearVelocityGain: 0.01

Просмотреть файл

@ -5,10 +5,11 @@ using Unity.Physics.Systems;
using Unity.Physics.Tests;
using Unity.Transforms;
using UnityEngine;
using UnityEngine.Serialization;
public class DriveAnimationBodyAuthoring : MonoBehaviour
{
public ConvertToEntity DrivingEntity;
public GameObject DrivingEntity;
[Range(0f, 1f)] public float PositionGain;
[Range(0f, 1f)] public float RotationGain;
[Range(0f, 1f)] public float LinearVelocityGain;