• We are looking for a content creator to help market our assets and a future unannounced project. More details are on this page.

How to set up AI to throw an object

Justin

Administrator
Staff member
The first step is to create the throwable item so it can be used by the character. I would do this for your own character first so you can easily test it out. From there you can add it to the deathmatch agent. You will need to determine when that item should be thrown by modifying the DetermineWeapon task or create a new task.
 
Hi, I need help with trying to create a throwable items. I just created a cube as a throwable item, tested it and my character throw the cube like a grenade, but only the animation work. Now I was wondering if the bow in the demo can be use as an example with the arrow in mind. Can you confirm this and also explain me how it worked.

Thank for the reply
 

Justin

Administrator
Staff member
The bow uses the ShootableWeapon component whereas the grenade uses the ThrowableWeapon so the setups are different. I created a video on how to setup a grenade and I recommend that you complete that successfully before trying to extend.
 
Top