P-172: Unity: Space Environment: Part 40: AI version 2, navigation, and actions, VR Test
I have figured out how to program the ai to walk to a room, approach an object, and then add that object as a child so that it’s position updates when the ai performs an action.
I have added some exercise equipment to the scene and my ai can now workout when not being directed by the player.
I have also added the ability for the ai to “sit” either when directed, or on their own accord. This was actually quite difficult, since I needed to program the ai to search for a chair or seat, then approach it, and then play their sit animation, making sure that they are rotated and placed properly on the seat. I accomplised this by adding an invisible dummy object called “POSITION” into the model of the seat, and the ai will simple add this as their parent, and set their position and rotation values to it.
Setting it as a parent also ensures that if the seat moves (such as it would in a vehicle) the ai will move with it.
I also spend quite a bit of time working on various models that need to be completed before I can add more actions to the game. I am still trying to learn quixel to aid in texturing these models, and others.

09/11/2016 , 03:42:06 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

09/11/2016 , 09:43:35 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

09/11/2016 , 09:43:41 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

09/11/2016 , 11:41:35 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 12:20:15 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 02:08:56 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 03:58:54 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 03:59:00 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 09:27:42 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 11:34:07 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 11:34:34 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 11:34:44 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

10/11/2016 , 11:35:23 PM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone
