Behaviour result

This is the result of my physics testing 8)

Really satisfied btw

I used a little restrictions though, to simplify the calculations (my game doesnt need more)

  1. It only behave in a plane, if the units go above, below or rotates on another axis that is not Y, then it stop working.

  2. The collider must be an sphere collider to keep the plane thing working.

  3. It calculates the force and torque needed constantly because collisions or other forces can alter his speed/direction of movement.

:smile:

This will be on my next WIP video

66494–2460–$unitbehaviour_745.zip (31 KB)

Pretty cool. I’ll be curious to see what you use this for…

Ooh! All sorts of things to use that for. Innnteresting… Mostly AI for NPC units, it’d seem. But I could imagine a scenario of two to use it in.