ulfr
New vMember
Posts: 13
|
Post by ulfr on May 8, 2017 19:51:30 GMT
im working on a game about kaijus, and i need said kaijus to attack buildings, i've set every and each of the buildings to have a vStandalone plugin, collider and rigidbody (the last 2 mandatory for the destruction plugin im using) however they do not attack the building gameobjects instead they just patrol arround like nothing is happening, may be the number of the buildings is affecting? I've already set up the tags and everything both in the controller and melee manager
|
|
|
Post by uberwiggett on May 8, 2017 21:39:58 GMT
Hey mate, if the kaijus are AI driven, on the invector AI script there is a section for tags to detect, just make sure the buildings are set as one of those tags and they will detect and attack them.
|
|
ulfr
New vMember
Posts: 13
|
Post by ulfr on May 8, 2017 22:46:00 GMT
Hey mate, if the kaijus are AI driven, on the invector AI script there is a section for tags to detect, just make sure the buildings are set as one of those tags and they will detect and attack them. already did that, (i tought it was obvious)
|
|
|
Post by uberwiggett on May 8, 2017 23:19:02 GMT
Never assume anything is obvious I'm pretty sure there is something you have to do to make it targetable in relation to that, I'm at work at the moment so I can't look it up but do a quick forum search as I'm pretty sure this issue has been raised before.
|
|
|
Post by Invector on May 9, 2017 0:17:54 GMT
lol that's a funny title try testing on a clean scene with just the AI and a simple object like a cube, then your building model, then 10 buidings, etc...
|
|
ulfr
New vMember
Posts: 13
|
Post by ulfr on May 9, 2017 2:11:26 GMT
ok now it works, but when the enemy attack something it wont react, the same building reacts to player so
|
|
|
Post by Invector on May 9, 2017 15:09:48 GMT
I'm not sure what makes your building react, but try compare the player and AI to see what's different
|
|
ulfr
New vMember
Posts: 13
|
Post by ulfr on May 9, 2017 18:47:22 GMT
ok i managed to do everything, but now, i have a different inquiry, i added ragdoll to the models for the death animations and now it wont cause any damage to the player
|
|