Move the objects Y?
OKay so this should be easy, i want to have it check to see if it is touching a tagged object with "climb" and not climb on a "undefined". Basicly i want to also have it if they are pushing on W and once they touch a climable then it changes the Y so it moves up. I asked this before but i want it so i could use the orginal moving POV view asset that comes with unity. Not no toutrials that make me have to use or make diffrent other camera mechs.
Heya, you know about CampareTag and such? Component.CompareTag
Something like: void OnTriggerStay(Collider other) { if(other.CompareTag("climb") && Input.Get$$anonymous$$eyDown("W")) { // Your climb code. } }
Your answer
Follow this Question
Related Questions
Is possible to learn programming with unity and where to start ? 1 Answer
I need help in understanding this: room.transform.position.x 1 Answer
transform.Translate changing object position by incorrect amount 1 Answer
How to instantiate object dependent on position 1 Answer
How can I have a life added bar every time I reach 5000 points 0 Answers