wavey
New vMember
Posts: 3
|
Post by wavey on Mar 20, 2020 14:34:05 GMT
Hi,
I am a newbie and this problem is driving me nuts.
I have created lots of assets for a level and when I aim at any the laser spot shows..However I have just made my first enemy which all works fine except that when I aim at him there is no red laser spot - he still gets hit and takes damage etc.
If anyone has any idea why this might be I would be really appreciate it.
many thanks
|
|
|
Post by Invector on Mar 20, 2020 21:15:18 GMT
It's probably layers, the red dot is set to collide with the layers Default and BodyPart, if your enemy doesn't have a Ragdoll using the layer BodyPart, it will not work.
You can either add a Ragdoll to aim correctly into each body part collider or add the Layer "Enemy" to your vLaserSight, but it will detect the whole capsule collider of the enemy.
|
|
|
Post by Chronicman on Mar 20, 2020 21:19:04 GMT
I think you could set the layer to BodyPart too. Then it would detect the ragdoll colliders.
|
|
wavey
New vMember
Posts: 3
|
Post by wavey on Mar 24, 2020 14:41:27 GMT
Worked perfectly!!! - (I had added the ragdoll collider incorrectly)
many thanks for the quick response:)
|
|