overte-org / overte

Overte open source virtual worlds platform.
https://overte.org/
Other
128 stars 47 forks source link

Object does not collide with parent #945

Open ReggaeRambo opened 2 months ago

ReggaeRambo commented 2 months ago

Problem: When having a dynamic object with linear velocity and collision turned on it collides with other objects, but as soon as i make the object parented to another object it does not collide with any objects.

The parent is not supposed to be dynamic, because i want some dynamic objects only collide with one static object and not with the other dynamic objects. Aside from that i need exact collider what excludes dynamic..

Steps to reproduce:

1) Add 3 boxes

2) Make box1 parent of box2, box3 stays unparented

3) Make box2 and box3 dynamic (and uncheck collides with dynamic entities, but makes no difference for this testcase)

4) Turn box1 a plate shape and place box2 and box3 next to each other and above box1

5) Give box2 and box3 linearVelocity.Y ~= -2

Result: box2(parented) goes through box1, while box3(unparented) collides with it, but both should collide...

ReggaeRambo commented 2 months ago

grafik