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 '12 at 08:54 AM

samz gravatar image

samz
67 33 54 63

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

May 19 '12 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 '12 at 09:01 AM

slayer29179 gravatar image

slayer29179
503 18 22 26

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 '12 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:

x2727
x2701
x1022

asked: May 19 '12 at 08:54 AM

Seen: 2775 times

Last Updated: May 19 '12 at 02:27 PM