Parenting object leave collission box. #41285

Closed
opened 2014-08-01 16:57:29 +02:00 by Marcin Nijaki · 17 comments

System Information
Windows 8.1 Intel HD 4400

Blender Version
Broken: 2.70a

In BGE when object1 is set to be parent object2, in old object2 location leave a collision box which can be "invisible wall".

Exact steps for others to reproduce the error
collission_bug.blend In this file (run game engine), when you grab cube (G key) and try go forward (W) you be blocked by old location collission box. You must has active "Show physics visualization" to see this.

**System Information** Windows 8.1 Intel HD 4400 **Blender Version** Broken: 2.70a In BGE when object1 is set to be parent object2, in old object2 location leave a collision box which can be "invisible wall". **Exact steps for others to reproduce the error** [collission_bug.blend](https://archive.blender.org/developer/F100918/collission_bug.blend) In this file (run game engine), when you grab cube (G key) and try go forward (W) you be blocked by old location collission box. You must has active "Show physics visualization" to see this.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @marcino15

Added subscriber: @marcino15

Added subscriber: @raco

Added subscriber: @raco

I can confirm this. First thing that came to mind is that this was already reported, but couldn't find it in the tracker. So I'm glad it is reported anyhow.

I can confirm this. First thing that came to mind is that this was already reported, but couldn't find it in the tracker. So I'm glad it is reported anyhow.

Added subscriber: @NikoLeopold

Added subscriber: @NikoLeopold

confirmed in 2.72.

confirmed in 2.72.

Added subscriber: @JacobMerrill-1

Added subscriber: @JacobMerrill-1

yeah it was part of my compound object problems, (this assumes the object is a rigid body)

after you parent it do this
store=object.parent
object.removeParent
object.suspendDynamics
object.disableRigidBodySimulation
object.setParent(store,1,0)

(this is for a compound object)

yeah it was part of my compound object problems, (this assumes the object is a rigid body) after you parent it do this store=object.parent object.removeParent object.suspendDynamics object.disableRigidBodySimulation object.setParent(store,1,0) (this is for a compound object)

hmm, I can't seem to "Bump" physics to force it to update like I do in wrectified...

I'll keep trying and try and get a .blend working with the work around.

hmm, I can't seem to "Bump" physics to force it to update like I do in wrectified... I'll keep trying and try and get a .blend working with the work around.

Ok, just add

object.worldPosition.z+=100

right before parenting,

I know it's not a real fix, but it works...

Ok, just add object.worldPosition.z+=100 right before parenting, I know it's not a real fix, but it works...

ok,

Actual fix

set character to compound,

and use

object.setParent(character,True,False)

tadacollission_bug_workAroundusingCompound.blend

ok, Actual fix set character to compound, and use object.setParent(character,True,False) tada![collission_bug_workAroundusingCompound.blend](https://archive.blender.org/developer/F121975/collission_bug_workAroundusingCompound.blend)

This bug still exists, it emerged in my latest BGMC game , metroid 64

parenting a object to another left a ghost of the object behind,

https://www.youtube.com/watch?v=qUwCsiwEyp8

This bug still exists, it emerged in my latest BGMC game , metroid 64 parenting a object to another left a ghost of the object behind, https://www.youtube.com/watch?v=qUwCsiwEyp8

Added subscriber: @Praful

Added subscriber: @Praful
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

Proposed fix: D1064

Proposed fix: [D1064](https://archive.blender.org/developer/D1064)
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Jorge Bernal self-assigned this 2015-02-13 00:00:37 +01:00
Member

Closed by commit 9e217ccb2e

Closed by commit 9e217ccb2e
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
6 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#41285
No description provided.