GE: AddObject-Actuator takes wrong scaling #37124

Closed
opened 2013-10-17 16:54:59 +02:00 by Karja Krähwald · 4 comments

%%%--- Operating System, Graphics card ---
Windows 7 64, HD 5770

- Blender version with error, and version that worked ---

error: 2.68a r58537

- Short description of error ---

Game Engine
Logic-Bricks: EditObject-Actuator adds objects with illogical scaling behaviour.

For example, a gun parented on a armature will fire projectiles with the same scaling of the armature,
and not with the scaling of the gun.

That means, Add-objects will take over the scale of its "highest parent" and ignore its emitter-object.
Please see my attached file for another example.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

I have attached a file.

Setup for emission:

  1. Add a Cube and move it to another layer.
  2. For Cube, set Logic-Bricks: Always>and>Motion(set a Value for X/Y/Z)
  3. Go to original layer and add an Empty.
  4. For Empty, set Logic-Bricks: Delay200repeat>and>EditObject(AddObject:Cube)
  5. Start Game Engine, the Empty shots Cubes.

Problem:
6. Scale Empty and start Game Engine > bigger/smaller Emptys = bigger/smaller Cubes
7. Add another Empty2 and parent Empty to Empty2.
8. Scale Empty and start Game Engine > bigger/smaller Emptys = nothing happens to Cube.
9. Scale Empty2 and start Game Engine > now it works like in step 6.%%%

%%%--- Operating System, Graphics card --- Windows 7 64, HD 5770 - Blender version with error, and version that worked --- error: 2.68a r58537 - Short description of error --- Game Engine Logic-Bricks: EditObject-Actuator adds objects with illogical scaling behaviour. For example, a gun parented on a armature will fire projectiles with the same scaling of the armature, and not with the scaling of the gun. That means, Add-objects will take over the scale of its "highest parent" and ignore its emitter-object. Please see my attached file for another example. - Steps for others to reproduce the error (preferably based on attached .blend file) --- I have attached a file. Setup for emission: 1. Add a Cube and move it to another layer. 2. For Cube, set Logic-Bricks: Always>and>Motion(set a Value for X/Y/Z) 3. Go to original layer and add an Empty. 4. For Empty, set Logic-Bricks: Delay200repeat>and>EditObject(AddObject:Cube) 5. Start Game Engine, the Empty shots Cubes. Problem: 6. Scale Empty and start Game Engine > bigger/smaller Emptys = bigger/smaller Cubes 7. Add another Empty2 and parent Empty to Empty2. 8. Scale Empty and start Game Engine > bigger/smaller Emptys = nothing happens to Cube. 9. Scale Empty2 and start Game Engine > now it works like in step 6.%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

%%%Moved from Blender 2.6 Bug Tracker to Game Engine%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Angus Hollands self-assigned this 2013-12-27 18:01:22 +01:00

This isn't a bug, but a feature design. If you scale the uppermost parent (if you have this relationship Armature->Empty->Gun, the armature is the uppermost parent) all children are scaled. If the original scale of the empty is an Identity, then the child won't inherit any scaling.

This isn't a bug, but a feature design. If you scale the uppermost parent (if you have this relationship Armature->Empty->Gun, the armature is the uppermost parent) all children are scaled. If the original scale of the empty is an Identity, then the child won't inherit any scaling.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#37124
No description provided.