x


rigidbody bounces out of collision zone thus killing OnCollisionStay method

I'm trying to set up an OnCollisionStay method that will help me initialize a push/drag state between a player game object with a rigidbody and a regular cube object(standard 1x1x1 scale and 1x1x1 box colider). Problem is it seems that every time a collision happens the player is bounced out of the collision zone and the OnCollisionStay method doesn't keep firing. I want it to keep firing so I can turn on and off the push/drag states. What am I doing wrong? or is there a better way of doing this?

more ▼

asked Apr 03 '11 at 10:41 PM

Kobby gravatar image

Kobby
48 5 5 9

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

0 answers: sort voted first
Be the first one to answer this question
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:

x1787
x288
x286
x70
x18

asked: Apr 03 '11 at 10:41 PM

Seen: 928 times

Last Updated: Apr 03 '11 at 10:41 PM