Object Animation is different in 3d View and GameEngine. #28853

Closed
opened 2011-10-09 19:00:22 +02:00 by Mario Mey · 14 comments

Category: Animation

%%%The action is the same, the object is using Quaternions, the Action has Quaternions keyframes... but the object rotates different.

Open the file.

Alt-A - Look the animation

Enter Game Engine - Look the animation%%%

**Category**: Animation %%%The action is the same, the object is using Quaternions, the Action has Quaternions keyframes... but the object rotates different. Open the file. Alt-A - Look the animation Enter Game Engine - Look the animation%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

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

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

%%%Moving to the BGE tracker.%%%

%%%Moving to the BGE tracker.%%%

%%%confirmed. to simplify the file the Action actuator can be use as well.
The problem seems that the rotation is barely working there. Assigning to Mitchell%%%

%%%confirmed. to simplify the file the Action actuator can be use as well. The problem seems that the rotation is barely working there. Assigning to Mitchell%%%
Author

%%%I can't make a simplified file... but I think the bug is similar to this.

A camera (as object) Action is working ok inside Blender. But in BlenderPlayer, it doesn't move... or move much less than it should. It is very strange, because I have some other files that use the same python files and I don't find differences between the files... but in the these files, it works. In Blender and in BlenderPlayer.

Moguri, if you want the 30mb file, mail me: mariomey@gmail.com.

Thanks...
%%%

%%%I can't make a simplified file... but I think the bug is similar to this. A camera (as object) Action is working ok inside Blender. But in BlenderPlayer, it doesn't move... or move much less than it should. It is very strange, because I have some other files that use the same python files and I don't find differences between the files... but in the these files, it works. In Blender and in BlenderPlayer. Moguri, if you want the 30mb file, mail me: mariomey@gmail.com. Thanks... %%%
Author

%%%Sorry about the last post, it was a error of mine. I don't know why, in this file, it start BGE and stay freeze for about 2 seconds. In that 2 seconds would be action that didn't work. Forget about that.

Moguri... any news about the bug of this report?%%%

%%%Sorry about the last post, it was a error of mine. I don't know why, in this file, it start BGE and stay freeze for about 2 seconds. In that 2 seconds would be action that didn't work. Forget about that. Moguri... any news about the bug of this report?%%%

Did this report have an attached blendfile?

Did this report have an attached blendfile?
Author

Here it is. The bug is still there, in 2.7.

14_action_different.blend

Here it is. The bug is still there, in 2.7. [14_action_different.blend](https://archive.blender.org/developer/F86987/14_action_different.blend)

It looks like all of the BGE's object IPO assumes 3 values for rotation (it's based on Euler rotations). However, quaternions use 4 values. This means the BGE is only using the first 3 (out of four) values for quaternions, which gives an incorrect rotation.

It looks like all of the BGE's object IPO assumes 3 values for rotation (it's based on Euler rotations). However, quaternions use 4 values. This means the BGE is only using the first 3 (out of four) values for quaternions, which gives an incorrect rotation.

Added subscriber: @EricWahl

Added subscriber: @EricWahl

Are there any News or Actions on this bug? Or a proposal how to fix it without getting Problems with gimbal lock? (therefore I Need to use the quaternions...

Are there any News or Actions on this bug? Or a proposal how to fix it without getting Problems with gimbal lock? (therefore I Need to use the quaternions...
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

This task is being closed because the BGE has been removed in Blender 2.8.

This task is being closed because the BGE has been removed in Blender 2.8.
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#28853
No description provided.