ASSIGNMENT 2 DELIANG CHEN ATTRACTION

The main idea was attraction. I wanted to create an effect where different objects were attracted to the player.

To start the process I knew i had to be able to make one object follow another object. And this led me to be inspired by video game allies that would follow the player around. I figured Unreal would have something similar so that I wouldn’t need to create a crazy script to make the different objects follow the player.

This script here might look short and simple but thats becuase of the pawn sensing command that exists.

This here shows the final outcome after adding the script.

A few of the issues that I encountered was the fact ai move does not work if there is not a nav volume added to the scenes. Another issue that needs to be solved is figuring out how to make the object keep a certain distance from the player. And to be able to figure out the speed of the objects. For the next step I would like to add a action that happens when the objects do collide with the player and with other objects.

Leave a comment