- Home /
Question is off-topic or not relevant
scripting help needed by a Script-illiterate
I have my Art gallery ready and I want to add some interactivity to display each paint's information when the viewer look at each one.
So my idea is to setup a sphere collider close to each paint so when the "character controller" enters, the info (I plan to make a GIU for each paint) is displayed and when it exits is OFF, I was looking at the collider Javascript reference and I think with "Collider.OnTriggerEnter" and "Collider.OnTriggerExit" I can do that but I have no clue about how to formulate a script with that.
I would very much appreciate if somebody can help me with this. Thank you in advance!
-AK
Can you learn coding rather than asking people to do it for you.
This site is really for specific development questions. If you want to get someone to write you scripts, please see the collaboration section on the forums.
Sorry Eric5h5 I didn't know that so I asked that question. TASNO, thank you very much for your help, I can see you are really a very wise person.
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Accessing colliders, in if statement 2 Answers
Problem with Javascript updating variables. 1 Answer
Boxcollider 2D Destroyed 2 Answers
Boolean wont acitvate if the enemy enters a trigger 1 Answer