Misbehavior on copy object with actuator(add object) #41937

Closed
opened 2014-09-24 10:04:09 +02:00 by Michaël Timbert · 7 comments

System Information
Linux Debian 7 64bit. &

Blender Version
Tested on 2.71
and 2.72 eb464ee

Short description of error
I have an empty object for simply spawn an enemy, this work, this spawn an enemy with child.
BUT if i copy (ctrl-c ctrl-v) this empty object for spawning a new enemy, he make a new copy of the original enemy but without child.
AND if i duplicate link (alt-D) the behavior is correct (i think) this copy empty object who spawn Ennemi1, but game logic between spawn and spawn.001 are not linked.

Exact steps for others to reproduce the error
with this file:
spaceinvader.blend

select spawn object and duplicate it.
the new object (called spawn.001) don't spawn the object Ennemie1 but Ennemie1.001.
If we go to the layer 9 we can see a second enemy have being added (over the first).
But this new Ennemie1.001 don't have child Ennemi_gun.

comment:
I make this empty object spawn because we cant duplicate linked (Alt-D)
dont link game logic of object.

solution:

  1. add game logic on data linked to the object with duplicate linked.
  2. actuator Edit Object need more option like:
    • copy child ( recursive or not )
    • make new object or reuse object

I hope to have explained well.

**System Information** Linux Debian 7 64bit. & **Blender Version** Tested on 2.71 and 2.72 eb464ee **Short description of error** I have an empty object for simply spawn an enemy, this work, this spawn an enemy with child. BUT if i copy (ctrl-c ctrl-v) this empty object for spawning a new enemy, he make a new copy of the original enemy but without child. AND if i duplicate link (alt-D) the behavior is correct (i think) this copy empty object who spawn Ennemi1, but game logic between spawn and spawn.001 are not linked. **Exact steps for others to reproduce the error** with this file: [spaceinvader.blend](https://archive.blender.org/developer/F111970/spaceinvader.blend) select spawn object and duplicate it. the new object (called spawn.001) don't spawn the object Ennemie1 but Ennemie1.001. If we go to the layer 9 we can see a second enemy have being added (over the first). But this new Ennemie1.001 don't have child Ennemi_gun. __comment:__ I make this empty object spawn because we cant duplicate linked (Alt-D) dont link game logic of object. __solution:__ 1. add game logic on data linked to the object with duplicate linked. 2. actuator Edit Object need more option like: - copy child ( recursive or not ) - make new object or reuse object I hope to have explained well.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @BlackCat

Added subscriber: @BlackCat
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

For me this isn't a bug.

You have 3 possibilities:

Ctrl-C Ctrl-V (copy/paste): you obtain a copy of the spawn with a copy (.001, .002, etc) of any associated action.
Shift + D (Duplicate): you obtain a duplicate of the spawn that calls to the same associated actions than the original one.
Alt + D (Duplicate linked): you obtain a duplicate linked of the spawn that calls to the same associated actions than the original one.

I have checked your example and with the options 2 or 3 it works perfectly. I mean when you move the ship under whatever (duplicate or duplicate linked) enemy ship, this enemy ship shoot you.

For me this isn't a bug. You have 3 possibilities: Ctrl-C Ctrl-V (copy/paste): you obtain a copy of the spawn with a copy (.001, .002, etc) of any associated action. Shift + D (Duplicate): you obtain a duplicate of the spawn that calls to the same associated actions than the original one. Alt + D (Duplicate linked): you obtain a duplicate linked of the spawn that calls to the same associated actions than the original one. I have checked your example and with the options 2 or 3 it works perfectly. I mean when you move the ship under whatever (duplicate or duplicate linked) enemy ship, this enemy ship shoot you.

Thank,

i agree with you.

BUT:

Ctrl-C Ctrl-V (copy/paste): make a copy of spawn but don't copy children (ennemi_gun) and relationship. I don't know if it's a normal behavior.

Second:

When we Duplicate linked game logic is not linked. But i think it's a limitation in BGE
(maybe if we link game logic, one sensor of one object can affect all linked object, i don't know) i need to go deep in BGE for understand
this thing. But its going to take me a while.

Thank for review.

Thank, i agree with you. BUT: Ctrl-C Ctrl-V (copy/paste): make a copy of spawn but don't copy children (ennemi_gun) and relationship. I don't know if it's a normal behavior. Second: When we Duplicate linked game logic is not linked. But i think it's a limitation in BGE (maybe if we link game logic, one sensor of one object can affect all linked object, i don't know) i need to go deep in BGE for understand this thing. But its going to take me a while. Thank for review.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Jorge Bernal self-assigned this 2015-05-15 16:28:59 +02:00
Member

I close the report as the behaviour described is the normal behaviour expected.

Thanks for taking time reporting.

I close the report as the behaviour described is the normal behaviour expected. Thanks for taking time reporting.
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
2 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#41937
No description provided.