You can write your topic however you want, but you need to answer these questions:
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:
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.
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.
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.
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: