mirror of
https://github.com/Xevion/Boids.git
synced 2025-12-10 02:06:33 -06:00
increase boundary/steering force limits, update inspector slider max values
This commit is contained in:
@@ -1252,27 +1252,27 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7d72224fef7a4fb4a998b0980fe0eb77, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
boidCount: 205
|
||||
boidGroupRange: 5.9
|
||||
boidStartVelocity: 9.7
|
||||
minSpeed: 13.3
|
||||
maxSpeed: 17.2
|
||||
boidCount: 372
|
||||
boidGroupRange: 3.03
|
||||
boidStartVelocity: 14.8
|
||||
minSpeed: 12
|
||||
maxSpeed: 12
|
||||
globalBias: 1
|
||||
separationBias: 1.5
|
||||
alignmentBias: 0.599
|
||||
cohesionBias: 0.558
|
||||
boundaryBias: 1.085
|
||||
alignmentBias: 0.517
|
||||
cohesionBias: 0.451
|
||||
boundaryBias: 1.492
|
||||
enableSeparation: 1
|
||||
enableAlignment: 1
|
||||
enableCohesion: 1
|
||||
enableBoundary: 1
|
||||
boidSeparationRange: 1.67
|
||||
boundaryForce: 0.352
|
||||
boidSeparationRange: 2.3
|
||||
boundaryForce: 7.6
|
||||
localFlocks: 1
|
||||
edgeWrapping: 1
|
||||
circleVertexCount: 360
|
||||
circleWidth: 0.1
|
||||
maxSteerForce: 100
|
||||
maxSteerForce: 138
|
||||
focusedBoid: {fileID: 0}
|
||||
boidObject: {fileID: 1737515784064720040, guid: 23e1eaaf69d4ef342ac3ef9590f6c642,
|
||||
type: 3}
|
||||
@@ -3524,7 +3524,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -22.099976, y: -23.8}
|
||||
m_AnchoredPosition: {x: -22.099976, y: -23.800049}
|
||||
m_SizeDelta: {x: 25, y: 25}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &945635207
|
||||
|
||||
@@ -25,8 +25,8 @@ public class BoidControllerEditor : Editor {
|
||||
controller.minSpeed = EditorGUILayout.Slider("Minimum Speed", controller.minSpeed, 0.01f, 25.0f);
|
||||
controller.maxSpeed = EditorGUILayout.Slider("Maximum Speed", controller.maxSpeed, 0.01f, 25.0f);
|
||||
controller.boidSeparationRange = EditorGUILayout.Slider("Separation Range", controller.boidSeparationRange, 0.01f, 5.0f);
|
||||
controller.boundaryForce = EditorGUILayout.Slider("Boundary Force", controller.boundaryForce, 0.25f, 1f);
|
||||
controller.maxSteerForce = EditorGUILayout.Slider("Max Steer Force", controller.maxSteerForce, 1f, 100f);
|
||||
controller.boundaryForce = EditorGUILayout.Slider("Boundary Force", controller.boundaryForce, 0.25f, 50f);
|
||||
controller.maxSteerForce = EditorGUILayout.Slider("Max Steer Force", controller.maxSteerForce, 1f, 200f);
|
||||
|
||||
// Boid Bias Attributes
|
||||
controller.alignmentBias = EditorGUILayout.Slider("Alignment Bias", controller.alignmentBias, 0.001f, 1.5f);
|
||||
|
||||
Reference in New Issue
Block a user