5,928 Commits over 3,959 Days - 0.06cph!
Added terrain forest enum
Time of Day update to 2.1.0 prerelease 5
Moved some utility components to their correct folder
Added TerrainBiome info, enum and struct
Added MaxIndex extension method
Added or updated approximately 3 million meta files
I think we don't want the art scene folder on main
Attempt to fix server-side NRE related to AI
Don't align animals to terrain normal on spawn
Added AIObstacle components to trees, ores, piles and building parts
Tweaked wolf prefab
Updated AI test scene
Fixed cylinder obstacle closest point calculation y value being off
Fixed obstacle gizmos ignoring collider offset
Enabled AI in standalone build (revert this commit if shit gets fucked up)
Tagged server-side player prefab as "Player" for AI to uniquely identify it
Made grass patches interpolate the terrain normal to avoid blocky shading in some situations
▄▋▆ ▌▆ ▊▇▄▋▉▍▇ ▆▌▊▅▌▌▌▊▍▊ ▌█▍▌▆ ▉▄ ▉▋███▋ █▌█▆▅▉▉▅▉ ▍▉▌▄▆ ▌▋ ▌▆▍ ▇▇ ▍▋▌█-▇▌▍▅▌?
Changed AI parts to not be individual components but rather children properties of AIEntity
Made every AI part have an individual refresh frequency that can be fine-tuned
Added AI part ticking to BasicController and WolfController
Updated AI test scene
Updated wolf prefab
Added NetworkSleep to wolf
Re-implemented AILocomotion
Added refresh interval to AISense
Refactored danger / obstacle / target info
Refactored AISense, AIObstacle and AIBody
Added rigidbodies to NetworkSleep (sets isKinematic)
Added separate layer for all AI
Fixed animal meshes being spawned way off relative to their parent transform
Made AI walk animation get set directly from velocity
Added behaviour trees to AI
Refactoring in preparation of the move to Behave 2
Removed unused movement mask
Removed explicit stair handling from AI controller for performance reasons
Fixed gravity influence on AI being almost zero
Fixed WolfController throwing NRE's on the dedicated server
Made FollowTag use the entity lose distance as chase distance
Updated AI test scene
Updated wolf prefab (if everything works correctly nothing should change on the public servers)
Unity keeps modifying this file
Added wander behaviour and added it to the wolf idle state
Made danger / obstacle / target info serializable for easy debugging
Updated AI test scene
Tweaked AI controllers
Added a factor to maintain the forward direction to the context map decision
Tweaked follow behaviours
Split AI obstacle and entity mask
Made AI entity visiblity check faster and safer
Updated AI test scene
Refactored all the things
Added hacky but working wolf AI to the AI test scene
Added feet variable for AI to step over stairs and on foundations (TODO: IK?)
Refactored and tweaked some AI calculations
Updated AI test scene
Refactoring
Added wolf prototype to AI test scene
Made the context map decision get influenced by pushing forces adjacent to the primary direction
Improved AI decision quality and performance of decision making
Improved obstacle avoidance
Updated AI test scene with more complex obstacles
Fixed cylinder obstacle closest point calculation Y value
Removed some calculations that aren't required from the waypoint following script
Made decision direction interpolation smoother