Compound parenting issues with spawned copies of root shape objects. #47297

Closed
opened 2016-02-02 02:07:16 +01:00 by Jacob Merrill · 11 comments

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.....compoundPhysicsProblem.blend

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.

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.....[compoundPhysicsProblem.blend](https://archive.blender.org/developer/F279496/compoundPhysicsProblem.blend) 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.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Ulysse Martin was assigned by Jacob Merrill 2016-02-02 02:07:16 +01:00
Author

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1
Author

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

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

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.

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.

Added subscriber: @panzergame

Added subscriber: @panzergame

If I remember correctly and if I understand the problem, @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 :) )

If I remember correctly and if I understand the problem, @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 :) )

Added subscriber: @Sergey

Added subscriber: @Sergey

@panzergame, mind having a look here?

@panzergame, mind having a look here?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

@you.le, is a good idea to communicate why exactly task got closed/archived.

@you.le, 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

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
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#47297
No description provided.