|
Post by projectonegames on Mar 31, 2018 3:35:18 GMT
Tried all of the shooter demo scenes, with the latest sw. None of the bullets are harming the "enemy". I tried pulling in enemy from melee scenes, the same issue. Turned off "passive to damage" within v_AIController.cs.
Any thoughts on what could be clobbering this?
latest: basic 2.3.0, meleee 2.3.0, shooter 1.2.0
|
|
|
Post by uberwiggett on Mar 31, 2018 5:11:25 GMT
check that the shooter controller layers are set to "default, enemy,bodypart"
edit: that is to say, the shooter controller script, has a part tagged "aim layer", or something like that and it denotes what your bullets can hit.
|
|
|
Post by projectonegames on Mar 31, 2018 10:28:06 GMT
That worked!!! Thank you. If anyone else has this issue, it is within V Shooter manager Damage Layers Damage Layer should be default, enemy, bodypart. cheers
|
|
|
Post by Invector on Mar 31, 2018 15:01:31 GMT
Actually, you should use either Bodypart or Enemy, using both you could hit twice collider and apply double the damage.
Think as you need to know a collider to apply damage, if you have the ragdoll component use the BodyPart on each ragdoll collider, if you don't have (usually for mobile games) you can use the main capsule collider with the layer Enemy.
|
|