x


Physic bug with applying force to a cube between two colliders

alt text

When we apply force upward on a 1x1x1 cube with Mass = 2.8 Angular drag = 0.05 Use Gravity Collision Discrete ( but we tried all three) Constraint Freeze Pos Z Freeze Rot X, Y

So our problem is that the same force applied upward does not yield the same result when a cube is between two level prefab platform (intersection).

What could cause this problem is beyond me for the moment we tried lots of manipulations without any good answers.

Thanks if anybody has a clue, this is easily reproducable if you want to try it out, if we are not using the physic engine, please point it to us, we need this to be fixed very quickly.

Christian

more ▼

asked May 27 '11 at 04:14 PM

roychr gravatar image

roychr
46 3 5 9

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

3 answers: sort voted first

I'm just speculation here, but I think the problem is that it accounts for friction with the surface it is on. When it's resting on two instead of one collider it's harder to calculate the surface friction and it apparently makes a huge difference, I'm surprised it's this big. It would be solved by combining the meshes though, which you probably want to be doing anyway if you're using 'prefab level blocks'.

more ▼

answered May 27 '11 at 05:08 PM

Joshua gravatar image

Joshua
6.4k 19 25 71

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

We used the merge script with no success, I will ask my programmer to create a physic material and remove the friction, I will get back with the results.

more ▼

answered May 27 '11 at 06:11 PM

roychr gravatar image

roychr
46 3 5 9

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

Using physic materials does not resolve the problems, by the way for what it is worth, our prefabs for platforms are 3 units wide in Z.

We will cast a sphere under the cube when manipulating it checking for if we collide with intersections, augment de force for correction, but this is very unusual and our solution is hackish.

Anyone has a solution ?

more ▼

answered May 27 '11 at 06:30 PM

roychr gravatar image

roychr
46 3 5 9

The "Post Your Answer" button is for posting answers, not comments. It's in your own disadvantage, because no one is going to wade through the answers you gave to your own question. Just edit the main question or add a comment to it.

May 27 '11 at 06:34 PM Joshua
(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:

x1880
x1707
x25

asked: May 27 '11 at 04:14 PM

Seen: 689 times

Last Updated: May 27 '11 at 06:34 PM