ProximityPrompt not showing up in anchored parts

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want to put a ProximityPrompt in a door model. This model is in the hierarchy as can be seen on this image:
Capture2

  1. What is the issue? Include screenshots / videos if possible!

When I play my game, my ProximityPrompt does not appear when I approach the part. Note that if I place the ProximityPrompt inside of a part that is unanchored, it will show up. This is frustrating for obvious reasons.


3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I have browsed the dev-forums and asked for support on other platforms, but couldn’t find anyone with the same bug/issue. Welding the parts does not work either.

For the configurations, the ProximityPrompt is left untouched after I added it into the attachment.
Capture3

Thats it, any help?

3 Likes

hello, this happened to me before, try getting it out of that place and make it free without any blocks around it, if it works then you need to create a part for proximity prompt sticking out so you can click e while looking at it, if it doesnt work you are using it wrong

It’s likely that the attachment is being obstructed by the parts around it – you can either disable the RequiresLineOfSight property to ensure that the Prompt will be shown regardless if other parts are inbetween it and the player’s Character, or you can move the attachment slightly outside of the door.

8 Likes

If you look closer you have put the ProximityPrompt Inside of the Attachment

a895a9f02804e69ac8d30b34d2e23713fdd40a0a

And the HoldDuration is 0 seconds long so it will only show up for a split-second when you press E

Instead of the ProximityPrompt being in an attachment, put it in the model instead because in a model, it allows it to be re-used rather than in an attachment.

ProximityPrompts will still function when placed inside of attachments, as noted in the documentation on the Developer Hub.

But the thing is that in attachments, it only allows you to use it once rather than in models, it does not disappear.

Turn off requires line of sight,

I don’t believe that kind of functionality is present, otherwise, something as important as that would be explicitly mentioned in its documentation as to ensure that it’s a known feature so it can be utilized correctly.

When it’s inside of a model, the ProximityPrompt may not be as accurate with how the prompt ends up being displayed – this may lead to unintended results if the OP wants the Prompt to only be seen a certain distance away from the specific point of the attachment, in addition to the exact location where the prompt will be shown.

Here’s a demonstration with the exact same setup of two models, both of which have the same parts and are the same distance from one another. The only different is the Instance that the ProximityPrompt is inside of:

While the OP can still move the ProximityPrompt inside of the model if he would like to, he can simply toggle the RequiresLineOfSight property that I mentioned in my previous post in order to remain in the same spot that he intended it to be:

PUT IT IN THE MODEL. It will help.

Hey quick question, how do you get those updated clean model, folder, workspace, camera and terrain images? Is it like a beta thing?

Wow, it worked! Thank you so much, it was really slowing down my development.

1 Like