x


character controller + physics

I need help with logic.

I have a character controller which i need to stick with. But during times in my game it needs to bounce off and also affect seesaws in the game but ill need a rigidbody for that. So what may i do about this?

more ▼

asked May 19, 2012 at 08:54 AM

samz gravatar image

samz
67 123 120 128

do you have a rigidbody on the sea saw? make sure gravity is turned on, if not turn it off try both :)

May 19, 2012 at 02:27 PM slayer29179
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You will need to attach a rigid-body, but then you need to attach a script from this post :)

http://answers.unity3d.com/questions/17566/how-can-i-make-my-player-a-charactercontroller-pus.html

also attach a hinge join to the see-saw and the base :)

hope this helps

more ▼

answered May 19, 2012 at 09:01 AM

slayer29179 gravatar image

slayer29179
507 59 45 53

If im not mistaken That script seems to only push other rigidbodies away and i dont think that will work for my problem? And ive got a hinge joint on the pivot of the seesaw which allows the actuall seasaw to swing.

Am i still doing something wrong?

May 19, 2012 at 02:24 PM samz
(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:

x3181
x3161
x1171

asked: May 19, 2012 at 08:54 AM

Seen: 3382 times

Last Updated: May 19, 2012 at 02:27 PM