Im doing a final year project where im trying to introduce an imitation of a motion sensor device like in Alien: Isolation. What i created was an actor with 4 nested sphere collision which consists of close, inner, middle, and outer sphere. Instead of having a visual ui of the enemy location displayed, i use sound method the closer the enemy gets, the more frequent the device beeps. The mechanic works, except it created a problem where i could collect collectable items 100+ units away from me whenever the outer sphere collides with them. Is there another method where these collectable does not collide with the 4 sphere collisions?
The detection needs to be on the scanner, not the player.
The scanner has only one overlap, when the player does overlap, then you can monitor how close the player is on tick ( or timer ), and adjust the beeps, until the player walks away again ( end overlap ).
does that mean that i have to add the blueprint into my character component tab? I’ve tried to do so but there was no option on adding an actor bp of the sensor. Im trying to equip the sensor and set the collision logics in it.
That code I showed all goes in the sensor.
I’ve done some adjustments, when the enemy collides with the scanner radius it’ll trigger the beeping sound but the problem was that it wont stop playing even after end collision.
My original code works fine
must’ve been bugs in my project as it works in another project. I’ll try to fix however i Can. Thank you for your help
I found the problem. It was actually because of my audio sources were enabled looping and by disabling it the sound stopped playing after end overlap. Now the code works! Thank you for your guidance
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.