BGE: we can't trigger multiple character motion actuator #42709

Closed
opened 2014-11-24 13:05:33 +01:00 by Danyl Bekhoucha · 17 comments

System Information
Windows 7 GTX 570

Blender Version
Blender 2.72

Short description of error
If we use the motion actuator in character mode, we can't move forward and left at the same time. Or move and jump. We can only use one actuator at a time. The only way to fix this is to use the character motion actuator only for the jump and the simple motion actuator for the movements (they accept multiples inputs).

Exact steps for others to reproduce the error
Add at least two motion character actuator and try to trigger them at the same time.

**System Information** Windows 7 GTX 570 **Blender Version** Blender 2.72 **Short description of error** If we use the motion actuator in character mode, we can't move forward and left at the same time. Or move and jump. We can only use one actuator at a time. The only way to fix this is to use the character motion actuator only for the jump and the simple motion actuator for the movements (they accept multiples inputs). **Exact steps for others to reproduce the error** Add at least two motion character actuator and try to trigger them at the same time.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @DanylBekhoucha

Added subscriber: @DanylBekhoucha
[character_actuator.blend](https://archive.blender.org/developer/F126004/character_actuator.blend)

Added subscriber: @Moguri

Added subscriber: @Moguri

Try enabling the add mode for the location on all of the actuators (including the one for jump).

Try enabling the add mode for the location on all of the actuators (including the one for jump).
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

Hi linko,

the solution proposed by moguri solves the issue (I just tryed and it works). Have you tryed out?

If no answer I will close the bugreport next week. Thanks for the report.

Hi linko, the solution proposed by moguri solves the issue (I just tryed and it works). Have you tryed out? If no answer I will close the bugreport next week. Thanks for the report.

Hi,

With the Add mode it's another problem, we can use multiple motion input, but the mouse movement actuator glitch, the forward face change when i use it to rotate the object. mouse_glitch.blend

Hi, With the Add mode it's another problem, we can use multiple motion input, but the mouse movement actuator glitch, the forward face change when i use it to rotate the object. [mouse_glitch.blend](https://archive.blender.org/developer/F135606/mouse_glitch.blend)
Member

I can confirm this second issue. The issue is due to that the rotation performed by the mouse actuator is not taking into account by the character->GetWalkDirection
Moguri, I have a fix working partially (only works right during the mouse movement / I have to investigate it a bit more) but I think that to introduce character related code into the Mouse actuator it is not a good choice. Could you confirm me if it is acceptable?

Partial fix: character_and_mouse_actuator.diff

I can confirm this second issue. The issue is due to that the rotation performed by the mouse actuator is not taking into account by the character->GetWalkDirection Moguri, I have a fix working partially (only works right during the mouse movement / I have to investigate it a bit more) but I think that to introduce character related code into the Mouse actuator it is not a good choice. Could you confirm me if it is acceptable? Partial fix: [character_and_mouse_actuator.diff](https://archive.blender.org/developer/F135654/character_and_mouse_actuator.diff)

I'd be hesitant to add character specific code to the mouse movement actuator. Would you mind posting a version of the diff with more context? (e.g., use something like git diff -U10)

I'd be hesitant to add character specific code to the mouse movement actuator. Would you mind posting a version of the diff with more context? (e.g., use something like git diff -U10)
Member

I just created a differential revision (D1023) for a better review

I just created a differential revision ([D1023](https://archive.blender.org/developer/D1023)) for a better review

Added subscriber: @Praful

Added subscriber: @Praful

Removed subscriber: @Praful

Removed subscriber: @Praful

Added subscriber: @Praful

Added subscriber: @Praful
Jorge Bernal self-assigned this 2015-02-17 09:30:21 +01:00
Member

Changed status from 'Open' to: 'Resolved'

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

Added subscriber: @hg1

Added subscriber: @hg1
Member

Closed by commit 29e968a315: BGE: Fix #36703: Character motion actuator local movement not working correct.

Closed by commit 29e968a315: BGE: Fix #36703: Character motion actuator local movement not working correct.
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#42709
No description provided.