x


2D Platform game ladder climbing

I'm trying to create a basic demo game as a work project, so far I am just using the Lerpz character from the tutorial pack and at the moment when I enter the trigger zone I can't find a way to make him go up or down the ladder, is there anyway I can make this character Kinematic or something when he enters the ladder trigger zone?

more ▼

asked Feb 23 '12 at 03:39 PM

darkhammer01 gravatar image

darkhammer01
1 3 3 3

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Assuming you're using a rigidbody, if you disable the gravity when (entering ladder trigger zone + getButton move up) then you'll be able to move up with the vertical input axis. You can eventualy freeze position.x to ensure you're not falling from the ladder.

more ▼

answered Feb 25 '12 at 03:06 AM

bec_bunsen gravatar image

bec_bunsen
1 1 2 4

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3342
x1041
x803
x185
x26

asked: Feb 23 '12 at 03:39 PM

Seen: 952 times

Last Updated: Feb 25 '12 at 03:06 AM