Quantcast
Channel: Questions in topic: "tree"
Viewing all articles
Browse latest Browse all 513

Climbing a tree

$
0
0
Hi, I have an idea to make a game where players can climb on trees and collect gems. But how can I make this possible?. When player collides with tree surface I want him to stick to the surface of the tree and with W/S keys to move UP/Down and A/D keys to move around the body of the tree. Player would be on FPS mode so there isn't a need for animations, just be able to stick on body of the tree and move based on keys pressed. I don't have much experience in coding, but probably it will use OnTriggerEnter() and OnTriggerExit() functions. ![alt text][1] If someone is able to help me, I will appreciate it! Thanks in advance. [1]: /storage/temp/11744-tree.png

Viewing all articles
Browse latest Browse all 513

Trending Articles