|
So, I am using the wall jump function fromthe Lerpz tutorial for my new player controller script, however, the one from the lerpz tutorial allows walljumping on anything you collide with to the side. I want to limit the wall jumping to ony certian onbject only. From what I can see, this is what allows that:
I want to only allow walljumping on objects in a particular layer (or tag) only so that the player can't walljump on any object. Here is the complete function:
(comments are locked)
|
|
Okeydokey. Was that the question? :D What seems to be the problem? Your script looks good. Only thing it's lacking is a simple check to allow that whole chunk of wall jump code to take place.
Straight from the manual, just slightly modified. LOL, thanks, I'll try it out once I get home on my work computer! Yeah, I don't think I completely put my question in "question form"!
Jan 31 '11 at 09:34 PM
SirVictory
Coolies. Glad to help.
Feb 01 '11 at 01:36 AM
Jason B
(comments are locked)
|
