GridVids
Sign in with YouTube

COMPLETLY failed - Nothing went as planned with crowd simulation!

Forging Station Jul 11, 2021 11:39
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

My failed attempt to realize crowd simulation using gradient descent algorithm. The idea here was to associate a cost to movement and obstacle avoidance in a way, that movement cost increases if the agent is not directly heading towards the goal, and obstacle cost increases if there is a higher chance of impending collision. We can then use gradient descent to descend upon these const functions to reduce them. Given that these cost functions are expressed in terms of speed and direction, as we descend we can obtain the speed and direction values that produce the least change in the cost function. It did not go as planned but here it is anyway. For this wondering - Va - Velocity of agent a - or agent under consideration Vaz, Vax - x & z components of velocity Va Pba - Position of other agent/obstacle WRT agent a The rest of the parameters are explained in detail in my previous crowd simulation videos.
Gaming
#Forging Station #Sumera Sankruthyayana #Crowd Simulation did not work #Failed attempt #Gradient Descent #Unity Dots #Unity ECS #Time to closest approach #Distance to closest approach