ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > CopperCube Open discussion
forum topic indicator AI
person icon
rohan
Registered User
Quote
2023-05-10 15:02:52

How to make a advance ai enemy that follows and attacks enemy and also avoids to collide with obstacles and can find their way to attack player even the player is in the maize?

person icon
sven
Registered User
Quote
2023-05-10 15:21:44

I have made multiple AI scripts and also pathfinder scripts.
This project includes AI that does that and includes many cool stuff that you may need.
https://5v3n.itch.io/coppercube-...

Here is step by step tutorial how to use it.
https://www.youtube.com/watch?v=...

AI script can be modified so you can create your own AI and still use my pathfinder script for it.

There is also other user made AI s with pathfinder so use search and find that fits best for your project.

person icon
rohan
Registered User
Quote
2023-05-23 16:23:23

@sven
this script works well sometimes enemy get stucked on stairs,how do i fix it.Also,I want that player's camera rotates automatically towards enemy on attacking me like in granny game,How can i do this without coding?

person icon
sven
Registered User
Quote
2023-05-23 16:46:57

AI can get stuck on stairs:
AI collision sphere is not correct size -too small and step height too high so it wont slide over it.

To make camera to rotate towards enemy you need to set camera target at the enemy..(dont know if its possible to rotate towards the enemy without script-but you can set target so it looks to enemy (with no rotation but instantly)

Because you probably dont want it keep set target on each attack -you should use variable so target will be set only one time at first attack.

person icon
rohan
Registered User
Quote
2023-05-24 14:26:24

hmmm thank u ????


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |