Any demos or samples to learn from?

Seelen31

New member
Hi all,

I just purchased the Behaviour Designer Pro asset for Unity and wanted to find out if the are any links to download any demos or samples? I have an enemy that I basically want to do the following:

1. Stay in a sleep/lying down animation state.
2. If the player gets within a certain distance of the enemy (eg. Player Position from enemy = 5f), the enemy stands up and goes into the idle animation/state
3. If the player gets within striking distance of the enemy (eg. Player Position from enemy = 1f), the enemy starts attacking the player (enemy goes into the attack animation)
4. If the player moves away from the enemy (eg. Player Position from enemy >1f), the enemy goes back into the idle state/animation, and if the player moves further away from the enemy (eg. Player Position from enemy > 5f), the enemy goes back into the sleep/lying down animation state.

Would anyone know if there exists a tutorial or downloadable sample project that I can use to get this done?

Thanks in advance.
 
Hi, you can get the samples by clicking on the "Import Samples" button in the BD window, take a look at the attached screenshot.

The Utility Theory contains a character that can go to sleep on his own, that should help you with the first point. The sample content contains a task called Within Distance that will come in handy for the rest. Lemme know if you need more help with that, I can offer one screenshare for free to get you started if you're interested :)
 

Attachments

  • Import Samples.png
    Import Samples.png
    291.2 KB · Views: 7
Back
Top