Page MenuHome

Compound parenting issues with spawned copies of root shape objects.
Closed, ArchivedPublic

Description

Please setup reinstancePhysicsMesh() to provide unique physics shapes to compound parented route objects,

spawning a compound root, and parenting a child to it, and spawning another copy of the root,

when in physics view, you can see the added copy of the root shares the compound collision shape

of the first copy.

a work around currently that works, but I do not understand, is to remove all children from all copies of the root,
add a new root, then reparent all children...... it is however a massive pain.

it appears to be only when adding a copy of a compound route with children.....

in the test file the the cube on the left compound parents to a spawned object,

the next spawned copy will have the physics shape of the first copy

unless you press space -> removing the parent from the inital pair -> note the next spawned copies do not have the physics issue.
Nor do they gain them if you parent something, it is only when you spawn a new copy.

https://www.youtube.com/watch?v=Ibbyf6DfQy4&feature=youtu.be

I have been fighting this bug for years.

Details

Type
Bug

Event Timeline

or fix add object** I don't care how it gets fixed.

https://www.youtube.com/watch?v=rCOHKxEc0UI&feature=youtu.be

maybe just use my work around on your end?

if added object is compound object for all copies of said object in play,

1 remove all children and store in list

2 add new copy

3 reparent all children.

that said, there is no good way to see if a parented object is compound or not at the moment.

Aaron Carlisle (Blendify) changed Type from To Do to Bug.Feb 2 2016, 3:44 AM
Aaron Carlisle (Blendify) raised the priority of this task from Confirmed, High to Needs Triage by Developer.

If I remember correctly and if I understand the problem, @Porteries Tristan (panzergame) had a fix for that. So as he has commit rights and as he has a fix, maybe this issue could be adressed to him (if you want to fix that Tristan :) )

Ulysse Martin (youle) closed this task as Archived.Mar 23 2019, 10:25 AM

@Ulysse Martin (youle), is a good idea to communicate why exactly task got closed/archived.

I closed this bug report as official bge is no longer maintained as far I know. I think this bug has been fixed by panzergame (Tristan Porteries) in some upbge versions, (upbge is a fork of Blender which has been developped since bge development stopped). I wanted to close all the tasks in the tracker where I was involved and related to bge to do some clean up. The bug might still be in blender 2.79, but I don't think it will be fixed