Python controlled armature animation not working in BGE #42218

Closed
opened 2014-10-14 12:32:17 +02:00 by Luke Hares · 9 comments

{F116624}System Information
Windows 7 64, Windows 8.1, various Nvidia GTX

Blender Version
Broken: 2.71, 2.72
Worked: 2.70a

An armature is used to control a mesh in the BGE. Vertex weights, parenting correct etc. Python is used to move the armature bones, e.g.

GD.CS.objects["Armature"].channels["Bone.001"].joint_rotation=Vector([GD.val,0,0])

The mesh moves in 2.70a but not in later versions. An object parented to a bone moves correctly.

To reproduce load the attached test file and press p in the 3d view to run the game engine.

Suspect may be due to the change to multi-threaded animation in the BGE

Thanks!

{[F116624](https://archive.blender.org/developer/F116624/ArmBugTest.blend)}**System Information** Windows 7 64, Windows 8.1, various Nvidia GTX **Blender Version** Broken: 2.71, 2.72 Worked: 2.70a An armature is used to control a mesh in the BGE. Vertex weights, parenting correct etc. Python is used to move the armature bones, e.g. GD.CS.objects["Armature"].channels["Bone.001"].joint_rotation=Vector([GD.val,0,0]) The mesh moves in 2.70a but not in later versions. An object parented to a bone moves correctly. To reproduce load the attached test file and press p in the 3d view to run the game engine. Suspect may be due to the change to multi-threaded animation in the BGE Thanks!
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @LukeHares

Added subscriber: @LukeHares

Added subscribers: @Moguri, @brita, @Sergey

Added subscribers: @Moguri, @brita, @Sergey

Added subscriber: @bobson

Added subscriber: @bobson

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

This seems to be a duplicate of #42919. I've narrowed it down to a single commit, and it indeed is caused by the switch to multi-threading.

This seems to be a duplicate of #42919. I've narrowed it down to a single commit, and it indeed is caused by the switch to multi-threading.
Sybren A. Stüvel self-assigned this 2015-02-15 01:47:14 +01:00

This issue was referenced by bf157ce927

This issue was referenced by bf157ce9277ba1011a6e317c7629bab0dd8c36a5

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit bf157ce927.

Closed by commit bf157ce927.
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
5 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#42218
No description provided.