Walk Navigation fails to use gravity with intersecting objects #47838
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#47838
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Intel Core i7, 8 Gb RAM, AMD Radeon HD 7700
Windows 7 x64
Blender Version
Broken: 2.77
cc12fc1
Worked: 2.76b
f337fea
Short description of error
Walk Navigation fails to use gravity with intersecting objects
Exact steps for others to reproduce the error
This bug took me more than two weeks to separate the exact reproducible case so please take a look at the attached Blend file: open the file, activate View -> Navigation -> Walk Navigation and teleport to the selected (new) plane. Activate gravity by pressing "G" and walk towards the next (old) plane:
Just in case I’ve tried to add Solidify modifier and it didn’t help and later I was able to reproduce the same case with squashed cubes so it happens on solid objects as well.
If you want to reproduce the case itself, here are the steps to do it:
The whole thing proved to be a problem for level design because you won’t be able to walk through your level if some of its parts are intersecting. This is not a major bug, but it doesn’t happen in 2.76 and it may indicate a problem somewhere else so I really hope that it will be fixed.
WalkModeBug.blend
Changed status to: 'Open'
Added subscriber: @SpectreFirst
Added subscriber: @NikoLeopold
Added subscriber: @Sergey
Caused by
3ad0344
.Added subscriber: @mont29
Here is a possible solution.
When the ray is inside the bound the box, the lamda of "BKE_boundbox_ray_hit_check" can be greater than the depth of the object. :/
Added subscriber: @mano-wii
Another solution is to use "isect_ray_aabb_v3", it is much more efficient, allows depth negative and still ignores BoundBox that are fully behind the ray.
However it is not very accurate.
Changed status from 'Open' to: 'Resolved'
This issue was referenced by
75849b099f